Skip to content
docs

sameChain

sameChain(a, b): boolean

Defined in: kit/src/chain-id.ts:42

Do two CAIP-2 ids name the same network (solana:mainnet = solana:5eykt…, tron:728126428 = tron:0x2b6653dc)?

string

string

boolean