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