Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/mod.ts>Tx#addNetworkId

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Very Popular
Go to Latest
method Tx.prototype.addNetworkId
Re-export
import { Tx } from "https://deno.land/x/lucid@0.10.7/mod.ts";

Explicitely set the network id in the transaction body.

Parameters

id: number