Skip to content

Commit

Permalink
fix: wrong mapping of JSON RPC method for watchAsset
Browse files Browse the repository at this point in the history
The docs stated the JSON RPC method was `eth_switchEthereumChain` but it should be `wallet_watchAsset`.
  • Loading branch information
sebasyii authored Jul 25, 2023
1 parent 581ca3f commit 8fa9e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/actions/wallet/watchAsset.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ const success = await walletClient.watchAsset({

## JSON-RPC Methods

[`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-747)
[`wallet_watchAsset`](https://eips.ethereum.org/EIPS/eip-747)

0 comments on commit 8fa9e4c

Please sign in to comment.