Defined in EIP-747Documentation Index
Fetch the complete documentation index at: https://base-a060aa97-meyer9-discv5-p2p-protocol-id.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Requests that the wallet tracks the given token in the user’s wallet. Once a token is added, it will be shown in the wallet’s token list.
Parameters
The asset type. Currently only “ERC20” is supported.
Token options object.
Returns
Returns true if the token was successfully added to the watch list.
Error Handling
| Code | Message | Description |
|---|---|---|
| 4001 | User rejected the request | User denied adding the token |
| 4100 | Requested method not supported | The method is not supported by the wallet |
| -32602 | Invalid params | Invalid token parameters |
The token will appear in the user’s wallet token list if successfully added.