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
- Include capabilities on the chains list and read
capabilities.nfts.status. - Confirm the user address chain id is mainnet (not
ethereum-sepolia, etc.). - 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.
| Code | HTTP | When |
|---|---|---|
| unsupported_capability | 400 | Testnet chain id or feature disabled on testnets (prices, NFTs, DeFi, swap) |
| plan_chain_denied | 403 | NFT not included for this chain on your plan |
| chain_disabled | 403 | Chain turned off for the project |
| unsupported_capability | 400 | nfts capability unavailable on this chain |
| nft_unavailable | 503 | NFT 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
unavailableinstead 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.”