Query list of MT contract data

Fetch data of labelled MTs for all contracts.

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:
query Parameters
status
string

Labelling status [completed, processing, failed, cancelled]

Example: status=completed
type
string

Contract type [KIP-37, ERC-1155], returns all types if not specified

Example: type=KIP-37
size
integer <int64>

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

Example: size=10
cursor
string

Response offset (pagination)

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

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