Skip to main content
Version: 0.2.38

sdk.cip30interface.getnetworkid

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

CIP30Interface.getNetworkId() method

Retrieves the network ID of the currently connected account.

Signature:

getNetworkId(): Promise<number>;

Returns:

Promise<number>

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