Skip to content
Docs

NFTs

Mainnet and plan gates

NFT listings require a supported mainnet chain and a plan that includes NFT access.

Overview

NFT indexing is mainnet-only and depends on your plan and Console network toggles. A chain can appear in GET /v1/chains but still block NFT calls if capability nfts is not available.

Check before you build the NFT tab

  1. Include capabilities on the chains list and read capabilities.nfts.status.
  2. Confirm the user address chain id is mainnet (not ethereum-sepolia, etc.).
  3. Ensure the chain is enabled under Console › Networks for this project.

Typical errors

Errors use HTTP { "error": { "code", "message", "retryable" } }. Branch on code, not the message text.

Every authenticated route may also return unauthorized (401), revoked_secret (401), forbidden (403), credits_exhausted (402), plan_feature_denied (403), rate_limit_exceeded (429, retryable), and invalid_argument (413) for request bodies over 256 KiB.

CodeHTTPWhen
unsupported_capability400Testnet chain id or feature disabled on testnets (prices, NFTs, DeFi, swap)
plan_chain_denied403NFT not included for this chain on your plan
chain_disabled403Chain turned off for the project
unsupported_capability400nfts capability unavailable on this chain
nft_unavailable503NFT data timed out or is temporarily unavailable (retryable)
json
{
  "error": {
    "code": "unsupported_capability",
    "message": "Human-readable detail (may be sanitized).",
    "retryable": false
  }
}

UI patterns

  • Hide the NFT section when capability is unavailable instead of calling the API and showing an error toast.
  • Show a short “NFTs not supported on this network” when the user switches to a testnet wallet.
  • On nft_unavailable, offer retry—do not cache an empty list as “user owns zero NFTs.”