Skip to main content
Version: Next

wallet.webwallet.getnetworkid

Home > @blaze-cardano/wallet > WebWallet > getNetworkId

WebWallet.getNetworkId() method

Retrieves the network ID of the currently connected account.

Signature:

getNetworkId(): Promise<NetworkId>;

Returns:

Promise<NetworkId>

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