Get NFTs
List NFTs.
This method will use 20 Compute Units.
Returns a list of non-fungible tokens
Path parameters
tokenIdstring | nullableRequiredExample:
Network entity ID in the format of shard.realm.num
0.1.2Pattern: ^\d{1,10}\.\d{1,10}\.\d{1,10}$Query parameters
account.idstringOptionalExample:
The ID of the account to return information for
{"summary":"--","value":""}Pattern: ^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$limitinteger · int32 · min: 1 · max: 100OptionalDefault:
The maximum number of items to return
25Example: 2orderundefined · enumOptionalDefault:
The order in which items are listed
descExample: ascPossible values: serialnumberstringOptionalExample:
The nft serial number (64 bit type). Requires a tokenId value also be populated.
{"summary":"--","value":""}Pattern: ^((eq|gt|gte|lt|lte):)?\d{1,19}?$Responses
200
OK
application/json
400
Invalid parameter
application/json
get
/api/v1/tokens/{tokenId}/nftsGET /v1/YOUR_API_KEY/api/v1/tokens/{tokenId}/nfts HTTP/1.1
Host: mainnet.hedera.validationcloud.io
Accept: */*
{
"nfts": [
{
"account_id": "0.1.2",
"created_timestamp": "1234567890.000000001",
"delegating_spender": "0.0.400",
"deleted": false,
"metadata": "VGhpcyBpcyBhIHRlc3QgTkZU",
"modified_timestamp": "1610682445.003266001",
"serial_number": 124,
"spender_id": "0.0.500",
"token_id": "0.0.222"
}
],
"links": {
"next": "/api/v1/transactions?timestamp=lt:1657598275.517984411"
}
}Last updated
Was this helpful?