Skip to content

Documentation / js-sdk-core / Chain

Type alias: Chain

Chain: Object

A subset of WAGMI's chain type https://github.com/wagmi-dev/references/blob/6aea7ee9c65cfac24f33173ab3c98176b8366f05/packages/chains/src/types.ts#L8

Type declaration

blockExplorers?

blockExplorers?: Object

Collection of block explorers

Index signature

[key: string]: BlockExplorer

blockExplorers.default

blockExplorers.default: BlockExplorer

id

id: number

Id in number form

name

name: string

Human readable name

nativeCurrency

nativeCurrency: NativeCurrency

Currency used by chain

network?

network?: string

Internal network name

rpcUrls

rpcUrls: Object

Collection of RPC endpoints

Index signature

[key: string]: RpcUrls

rpcUrls.default

rpcUrls.default: RpcUrls

testnet?

testnet?: boolean

Flag for test networks