const wasAdded = await ethereum.request({
method: 'wallet_watchAsset',
params: {
type: 'ERC20', // Initially only supports ERC20, but eventually more!
options: {
address: tokenAddress, // The address that the token is at.
symbol: tokenSymbol, // A ticker symbol or shorthand, up to 5 chars.
decimals: tokenDecimals, // The number of decimals in the token
image: tokenImage, // A string url of the token logo
},
},
});
As you know NFT is popular right now, we recommend adding this method to support for ERC721 and 1155. ASAP and thanks a lot. :heartpulse:
As you know NFT is popular right now, we recommend adding this method to support for ERC721 and 1155. ASAP and thanks a lot. :heartpulse: