Coinbase Wallet SDK
Overview
The request
method allows apps to make 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:
- eth_ecRecover
- personal_sign
- personal_ecRecover
- eth_signTransaction
- eth_sendTransaction
- eth_signTypedData_v1
- eth_signTypedData_v3
- eth_signTypedData_v4
- eth_signTypedData
- wallet_addEthereumChain
- wallet_watchAsset
- wallet_sendCalls
- wallet_showCallsStatus
2. Handled Locally by the SDK
The following requests are handled locally by the SDK, with no external calls.
- eth_requestAccounts
- eth_accounts
- eth_coinbase
- net_version
- eth_chainId
- wallet_getCapabilities
- wallet_switchEthereumChain