eth_decrypt:{ errors: { code: 4100; message: "The requested account and/or method has not been authorized by the user."; }; params: [string, string]; result: PermissionsList; }
Type declaration
errors: { code: 4100; message: "The requested account and/or method has not been authorized by the user."; }
code: 4100
message: "The requested account and/or method has not been authorized by the user."
eth_sendTransaction:{ errors: { code: 4100; message: "The requested account and/or method has not been authorized by the user."; }; params: [Transaction]; result: string; }
Type declaration
errors: { code: 4100; message: "The requested account and/or method has not been authorized by the user."; }
code: 4100
message: "The requested account and/or method has not been authorized by the user."
wallet_addEthereumChain:{ errors: | { code: -32602; message: "Expected null or array with at least one valid string HTTPS URL 'blockExplorerUrl'. Received: ${blockExplorerUrls}"; } | { code: -32602; message: "Expected 0x-prefixed, unpadded, non-zero hexadecimal string 'chainId'. Received:\n${chainId}"; } | { code: -32602; message: "Invalid chain ID \"${_chainId}\": numerical value greater than max safe value. Received:\n${chainId}"; } | { code: -32602; message: "May not specify default MetaMask chain."; } | { code: -32602; message: "Expected 2-6 character string 'nativeCurrency.symbol'. Received:\n${ticker}"; } | { code: -32602; message: "nativeCurrency.symbol does not match currency symbol for a network the user already has added with the same chainId. Received:\n${ticker}"; }; params: [AddEthereumChainParameter]; result: null; }
Type declaration
errors: | { code: -32602; message: "Expected null or array with at least one valid string HTTPS URL 'blockExplorerUrl'. Received: ${blockExplorerUrls}"; } | { code: -32602; message: "Expected 0x-prefixed, unpadded, non-zero hexadecimal string 'chainId'. Received:\n${chainId}"; } | { code: -32602; message: "Invalid chain ID \"${_chainId}\": numerical value greater than max safe value. Received:\n${chainId}"; } | { code: -32602; message: "May not specify default MetaMask chain."; } | { code: -32602; message: "Expected 2-6 character string 'nativeCurrency.symbol'. Received:\n${ticker}"; } | { code: -32602; message: "nativeCurrency.symbol does not match currency symbol for a network the user already has added with the same chainId. Received:\n${ticker}"; }
wallet_watchAsset:{ errors: | { code: -32602; message: "Must specify address, symbol, and decimals."; } | { code: -32602; message: "Invalid symbol: not a string."; } | { code: -32602; message: "Invalid symbol '${symbol}': longer than 11 characters."; } | { code: -32602; message: "Invalid decimals '${decimals}': must be 0 <= 36."; } | { code: -32602; message: "Invalid address '${address}'."; } | { code: -32602; message: "Asset type is required."; } | { code: -32602; message: "Both address and tokenId are required."; } | { code: -32602; message: "Invalid address."; } | { code: -32000; message: "Suggested NFT is not owned by the selected account."; } | { code: -32000; message: "Suggested NFT of type ${standard} does not match received type ${type}."; } | { code: -32002; message: "Unable to verify ownership. Possibly because the standard is not supported or the user's currently selected network does not match the chain of the asset in question."; }; params: ["ERC20" | "ERC721" | "ERC1155", WatchAssetOptions]; result: boolean; }
Type declaration
errors: | { code: -32602; message: "Must specify address, symbol, and decimals."; } | { code: -32602; message: "Invalid symbol: not a string."; } | { code: -32602; message: "Invalid symbol '${symbol}': longer than 11 characters."; } | { code: -32602; message: "Invalid decimals '${decimals}': must be 0 <= 36."; } | { code: -32602; message: "Invalid address '${address}'."; } | { code: -32602; message: "Asset type is required."; } | { code: -32602; message: "Both address and tokenId are required."; } | { code: -32602; message: "Invalid address."; } | { code: -32000; message: "Suggested NFT is not owned by the selected account."; } | { code: -32000; message: "Suggested NFT of type ${standard} does not match received type ${type}."; } | { code: -32002; message: "Unable to verify ownership. Possibly because the standard is not supported or the user's currently selected network does not match the chain of the asset in question."; }
Min Items
0
Max Items
0