Home > @infiniteobjects/eth-tokens-service > RetrieveAssetsQueryParams
RetrieveAssetsQueryParams
Signature:
export interface RetrieveAssetsQueryParams
Property | Modifiers | Type | Description |
---|---|---|---|
assetContractAddress? | string | (Optional) The NFT contract address for the assets | |
assetContractAddresses? | string | (Optional) An array of contract addresses to search for (e.g. ?asset_contract_addresses=0x1…&asset_contract_addresses=0x2…). Will return a list of assets with contracts matching any of the addresses in this array. If “token_ids” is also specified, then it will only return assets that match each (address, token_id) pairing, respecting order. | |
collection? | string | (Optional) Limit responses to members of a collection. Case sensitive and must match the collection slug exactly. Will return all assets from all contracts in a collection. For more information on collections, see our collections documentation. | |
collectionEditor? | string | (Optional) | |
collectionSlug? | string | (Optional) Limit responses to members of a collection. Case sensitive and must match the collection slug exactly. Will return all assets from all contracts in a collection. For more information on collections, see our collections documentation. | |
cursor? | string | (Optional) A cursor pointing to the page to retrieve | |
includeOrders? | string | (Optional) A flag determining if order information should be included in the response false | |
limit? | string | (Optional) Limit number of results returned 20 50 | |
orderDirection? | string | (Optional) Can be asc for ascending or desc for descending | |
owner? | string | (Optional) | |
tokenIds? | string | (Optional) An array of token IDs to search for (e.g. ?token_ids=1&token_ids=209) Will return a list of assets with token_id matching any of the IDs in this array. |