Skip to main content
Version: Next

sdk.wallet.getnetworkid

Home > @blaze-cardano/sdk > Wallet > getNetworkId

Wallet.getNetworkId() method

Retrieves the network ID of the currently connected account.

Signature:

abstract getNetworkId(): Promise<NetworkId>;

Returns:

Promise<NetworkId>

{Promise} - The network ID of the currently connected account.