request
method allows apps to make Ethereum RPC requests to the wallet.
Specification
Example
Request Handling
Requests are handled in one of three ways- Sent to the Wallet application (Wallet mobile app, extension, or popup window).
- Handled locally by the SDK.
- Passed onto default RPC provider for the given chain, if it exists.
1. Sent to the Wallet application
The following RPC requests are sent to the Wallet application:personal_sign
eth_sendTransaction
eth_sendRawTransaction
eth_signTypedData_v4
wallet_addEthereumChain
wallet_watchAsset
wallet_sendCalls
wallet_getCallsStatus
wallet_connect
wallet_getCapabilities
wallet_switchEthereumChain
wallet_addSubAccount
wallet_getSubAccounts
coinbase_fetchPermissions
coinbase_fetchPermission
2. Handled Locally by the SDK
The following requests are handled locally by the SDK, with no external calls:3. Passed to RPC Provider
Standard Ethereum RPC methods are passed to the configured RPC provider for the current chain, including:eth_getBalance
eth_blockNumber
eth_gasPrice
eth_estimateGas
eth_feeHistory
eth_getBlockByNumber
eth_getBlockByHash
eth_getTransactionByHash
eth_getTransactionReceipt
eth_getTransactionCount
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
eth_getCode
eth_getStorageAt
eth_getLogs
eth_getProof
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockNumber
eth_sendRawTransaction