View all token information of a specific MT contract

Selecting an MT contract will fetch all data of tokens issued by the contract.

Sort

  • The items in the response will be listed in lexicographical order of the token IDs.


Size

  • The query parameter size is optional. (Min = 1, Max = 1000, Default = 100)
  • Returns an error when given a negative number
  • Uses default (size=100) when given a 0
  • Uses the maximum value (size=1000) when given a value higher than 1000
Request
Security:
path Parameters
mt-address
required
string

NFT Contract address to query

query Parameters
size
integer <int64>

Number of response items (min=1, max=1000, default=100)

Example: size=2
cursor
string

Offset for specifying a certain position

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200
400
404

Not found

get/v2/contract/mt/{mt-address}/token
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://th-api.klaytnapi.com/v2/contract/mt/{mt-address}/token?size=0&cursor=string' \
  -H 'x-chain-id: string'
Response samples
application/json
{
  • "items": [
    ],
  • "cursor": "z53x014AdOQJGNl6V99k3wAap7M08oLKedg5DVqlLdZqWwPQzo3aM7v8A9J6V2nmqnpgDNOeGkblm1BKEX5x0Yr46bW2ZN4YGmQPJO1xBvrEzXrW2gbvDZ7EKMaYmkew"
}