diff --git a/MIPs/mip-1.md b/MIPs/mip-1.md index 02f01a8..6561b6b 100644 --- a/MIPs/mip-1.md +++ b/MIPs/mip-1.md @@ -22,7 +22,7 @@ By allowing users to add and manage NFTs directly within MetaMask, we can better # Usage Example ``` // Request to add an ERC-721 token (NFT) -ethereum.sendAsync({ +ethereum.request({ method: 'wallet_watchAsset', params: { type: 'ERC721', @@ -34,7 +34,7 @@ ethereum.sendAsync({ }); // Request to add an ERC-1155 token (NFT) -ethereum.sendAsync({ +ethereum.request({ method: 'wallet_watchAsset', params: { type: 'ERC1155',