Get Token Data

Returns the data of a specified token. You can use the contract alias in place of the address.

Request
Security:
path Parameters
contract-address-or-alias
required
string

Contract address (in hex.) or alias.

token-id
required
string

The ID of the desired token.

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

Your request was successful.

400

Your request is not valid.

401

The credential you entered is invalid.

404

The resource you requested does not exist.

get/v2/contract/{contract-address-or-alias}/token/{token-id}
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://kip17-api.klaytnapi.com/v2/contract/{contract-address-or-alias}/token/{token-id}' \
  -H 'x-chain-id: string'
Response samples
application/json

Your request was successful.

{
  • "createdAt": 1607330287,
  • "updatedAt": 1607391306,
  • "owner": "0xae7bb7efff289c163a95303795c4d59293f6ba92",
  • "previousOwner": "0xbafa182d3fccebcb1701b66a69f0e7b40f3a52c4",
  • "tokenId": "0x1",
  • "transactionHash": "0xf5f5d97ce5e6339fc767bd2f4df57d9ab39ca71e423d9f3b36a5f58ac894f578"
}