ChainId
Usage
import { ChainId } from '@stacks/network';
if (network.chainId === ChainId.Mainnet) {
console.log('This is a mainnet network');
}Definition
enum ChainId {
Mainnet = 0x00000001,
Testnet = 0x80000000,
}Values
Value
Number
Description
Last updated
Was this helpful?