tx.txbuilder.setnetworkid
Home > @blaze-cardano/tx > TxBuilder > setNetworkId
TxBuilder.setNetworkId() method
Sets the network ID for the transaction builder. The network ID is used to determine which network the transaction is intended for.
Signature:
setNetworkId(networkId: NetworkId): TxBuilder;
Parameters
Parameter |
Type |
Description |
---|---|---|
networkId |
NetworkId |
The network ID to set. |
Returns:
{TxBuilder} The same transaction builder