Namespace: RpcResponse
Functions
rpcCosmosGetAccounts
▸ rpcCosmosGetAccounts(client
, session
, requestId
, accounts
): Promise
<void
>
Respond to a cosmos_getAccounts RPC request.
Parameters
Name | Type | Description |
---|---|---|
client | SignClient | Client used to send the response. |
session | Struct | Session used to send the response. |
requestId | number | Id of the request to which the response refers. |
accounts | AccountData [] | Accounts that will be sent. |
Returns
Promise
<void
>
Defined in
packages/walletconnect-v2/src/rpcresponse.ts:18
rpcCosmosSignAmino
▸ rpcCosmosSignAmino(client
, session
, requestId
, signResponse
): Promise
<void
>
Respond to a cosmos_signAmino RPC request.
Parameters
Name | Type | Description |
---|---|---|
client | SignClient | Client used to send the response. |
session | Struct | Session used to send the response. |
requestId | number | Id of the request to which the response refers. |
signResponse | AminoSignResponse | Signature response that will be sent. |
Returns
Promise
<void
>
Defined in
packages/walletconnect-v2/src/rpcresponse.ts:64
rpcCosmosSignDirect
▸ rpcCosmosSignDirect(client
, session
, requestId
, signResponse
): Promise
<void
>
Respond to a cosmos_signDirect RPC request.
Parameters
Name | Type | Description |
---|---|---|
client | SignClient | Client used to send the response. |
session | Struct | Session used to send the response. |
requestId | number | Id of the request to which the response refers. |
signResponse | DirectSignResponse | Signature response that will be sent. |
Returns
Promise
<void
>