On this page

latest contributor to this doc

Last Edit:

@gcharang

Update NFT

This method will scan selected networks to update NFT information stored in the local database. To interact with your NFTs, you will first need to activate the coin for the network the NFT is on.

See below for which coin to activate for each network:

NetworkCoin
AVALANCHEAVAX
BSCBNB
ETHETH
FANTOMFTM
POLYGONMATIC

These coins can be activated using the enable_eth_with_tokens or method.

ParameterTypeDescription
chainsarrayList of networks to scan for NFTs. Options are: POLYGON, FANTOM, ETH, BSC, or AVALANCHE.
komodo_proxybooleanOptional. Indicates whether authentication is required for accessing the proxy URLs.
urlstringURL link to the Moralis API proxy base url or equivalent (if komodo_proxy is set to true, will need to provide a new Komodo Proxy URL).
url_antispamstringURL link to the Antispam API proxy base url or equivalent.

If there are no errors, this request will return an empty response. When updating multiple networks, or wallets with numerous NFTs, this request may take a while to complete.

Update NFT

POST
update_nft
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "update_nft",
  "mmrpc": "2.0",
  "params": {
    "chains": [
      "BSC",
      "POLYGON"
    ],
    "komodo_proxy": false,
    "url": "https://moralis-proxy.komodo.earth",
    "url_antispam": "https://nft.antispam.dragonhound.info"
  }
}