assertChainId
Functions
assertChainId()
function assertChainId<TChain>(client: Client<Transport<string, Record<string, any>, EIP1193RequestFn<undefined>>, TChain, undefined | Account<`0x${string}`>, undefined, undefined | object>): number
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
Parameters
Parameter | Type |
---|---|
client | Client <Transport <string , Record <string , any >, EIP1193RequestFn <undefined >>, TChain , undefined | Account <`0x${string}`>, undefined , undefined | object > |
Returns
number