Returns: NftAssetsConnection

Arguments

address
String!
required

The contract address of the NFT collection.

networkId
Int!
required

The network ID the NFT collection is deployed on.

tokenIds
[String]

An optional list of token IDs to filter by.

fetchMissingAssets
Boolean

Whether to trigger fetching onchain metadata for missing assets. Defaults to false. Fetch results are delayed and can be ingested realtime via onNftAssetsCreated subscription. Free tier API users are limited to 1 missing asset fetch per request, and may only retry fetching a missing asset once per week. To remove these limitations, please upgrade your API plan at https://www.dashboard.defined.fi/plan.

cursor
String

The cursor to use for pagination.

limit
Int

The maximum number of NFT assets to return.

Schema

"""Returns a list of NFT assets in a given collection."""
getNftAssets(address: String!, networkId: Int!, tokenIds: [String], fetchMissingAssets: Boolean, cursor: String, limit: Int): NftAssetsConnection