tokens

Returns information for a non-fungible token

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

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/tokens/{tokenId}/nfts/{serialNumber}
  • Auth
    none declared

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

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status