ParentChain
Type Aliases
ParentChain
type ParentChain: Exclude<typeof chains[number], object>;
Source
ParentChainId
type ParentChainId: ParentChain["id"];
Source
ParentChainPublicClient<TChain>
type ParentChainPublicClient<TChain>: Prettify<PublicClient<Transport, TChain> & object>;
Type parameters
Type parameter |
---|
TChain extends Chain | undefined |
Source
Functions
validateParentChain()
function validateParentChain<TChain>(chainIdOrClient: number | Client<Transport<string, Record<string, any>, EIP1193RequestFn<undefined>>, TChain, undefined | Account<`0x${string}`>, undefined, undefined | object>): ParentChainId
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
Source
validateParentChainPublicClient()
function validateParentChainPublicClient<TChain>(publicClient: object): ParentChainPublicClient<TChain>
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
Parameters
Parameter | Type |
---|---|
publicClient | object |
Returns
ParentChainPublicClient
<TChain
>