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