Namespace: RpcRequests
Functions
rpcCosmosGetAccounts
▸ rpcCosmosGetAccounts(client
, session
, chainId
): Promise
<AccountData
[]>
Performs a cosmos_getAccount RPC request.
Parameters
Name | Type | Description |
---|---|---|
client | SignClient | Client used to perform the request. |
session | Struct | Session used to perform the request. |
chainId | string | ID of the chain to which the request refers. |
Returns
Promise
<AccountData
[]>
Defined in
packages/walletconnect-v2/src/rpcrequests.ts:22
rpcCosmosSignAmino
▸ rpcCosmosSignAmino(client
, session
, chainId
, signerAddress
, signDoc
): Promise
<SignAminoRpcResponseParams
>
Performs a cosmos_signAmino RPC request.
Parameters
Name | Type | Description |
---|---|---|
client | SignClient | Client used to perform the request. |
session | Struct | Session used to perform the request. |
chainId | string | ID of the chain to which the request refers. |
signerAddress | string | Address of who will sign the transaction. |
signDoc | StdSignDoc | Transaction to be signed. |
Returns
Promise
<SignAminoRpcResponseParams
>
Defined in
packages/walletconnect-v2/src/rpcrequests.ts:77
rpcCosmosSignDirect
▸ rpcCosmosSignDirect(client
, session
, chainId
, signerAddress
, signDoc
): Promise
<SignDirectRpcResponseParams
>
Performs a cosmos_signDirect RPC request.
Parameters
Name | Type | Description |
---|---|---|
client | SignClient | Client used to perform the request. |
session | Struct | Session used to perform the request. |
chainId | string | ID of the chain to which the request refers. |
signerAddress | string | Address of who will sign the transaction. |
signDoc | SignDoc | Transaction to be signed. |
Returns
Promise
<SignDirectRpcResponseParams
>