Coinbase Wallet SDK
wallet_connect
Connect wallet and request account access
Custom Coinbase Wallet method for establishing connection
Requests that the wallet connects to the dApp and provides account access. This is similar to eth_requestAccounts
but provides additional connection features.
Parameters
Optional configuration object for the connection.
Returns
Connection result object containing account information.
Error Handling
Code | Message | Description |
---|---|---|
4001 | User rejected the request | User denied the connection request |
4100 | Requested method not supported | The method is not supported by the wallet |
4200 | Wallet not available | The wallet is not installed or available |
This is a Coinbase Wallet-specific method and may not be available in other wallets.
After successful connection, the wallet will emit connection events and provide access to account information.