NFTs

NFTs

Endpoint: NFTs

/nfts/{address}

Returns the NFT balance for wallet address on all networks.

Example

https://datalayer.decommas.net/datalayer/api/v1/nfts/{address}?api-key={YOUR-API-KEY}

GET-params:

  • api-key
  • networks (default networks=all). You can pass the names of the networks, for example, for optimism and arbitrum, the request will look like this:
    • https://datalayer.decommas.net/datalayer/api/v1/nfts/{address}?networks=optimism,arbitrum&api-key={YOUR-API-KEY}
  • limit - parameter for pagination (default 20, min 20, max 100)
  • offset - parameter for pagination (default 0)
  • verified – If true, only verified collections are returned; if false, all collections (false by default)

Response example (ALL FIELDS ARE MANDATORY)

{
  "count": 2,
  "status": 200,
  "result": [
    {
      "chain_name": "mainnet",
      "chain_id": 1,
      "contract_address": "0x011c77fa577c500deedad364b8af9e8540b808c0",
      "token_id": "10868",
      "amount": 1,
      "contract_type": "ERC-1155",
			"collection_verified": true
    },
    {
      "chain_name": "mainnet",
      "chain_id": 1,
      "contract_address": "0x011c77fa577c500deedad364b8af9e8540b808c0",
      "token_id": "11207",
      "amount": 1,
      "contract_type": "ERC-1155",
			"collection_verified": true
    }
  ]
}