v1

latestOpenAPI 3.0.3Apache-2.02026-07-1348142206.6 KB
tokens

Get nft info

Returns information for a non-fungible token

get/api/v1/tokens/{tokenId}/nfts/{serialNumber}

Path parameters

tokenIdstring nullable required

Network entity ID in the format of shard.realm.num

Example:0.0.2

Token id

serialNumberinteger required

The nft serial number

Response

OK

account_idstring nullable

Network entity ID in the format of shard.realm.num

created_timestampstring nullable

A Unix timestamp in seconds.nanoseconds format

delegating_spenderstring nullable

Network entity ID in the format of shard.realm.num

deletedboolean

whether the nft or the token it belongs to has been deleted

metadatastring byte

Arbitrary binary data associated with this NFT encoded in base64.

modified_timestampstring nullable

A Unix timestamp in seconds.nanoseconds format

serial_numberinteger
spenderstring nullable

Network entity ID in the format of shard.realm.num

token_idstring nullable

Network entity ID in the format of shard.realm.num

Example response

{
  "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"
}