Get data of certain tokens for certain EOAs

Selecting an EOA will get all token data by EOA.

  • ft: ft balances existing in the contract will be included in the response
  • nft: Tokens existing in the contract will be included in the response
  • mt: Token balances existing in the contract will be included in the response


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
address
required
string

EOA to query

query Parameters
kind
string

(csv) Types to include ["ft", "nft", "mt"], query all types when not specified

Example: kind=ft,nft,mt
size
integer <int64>

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

Example: size=100
ca-filters
string

Contract address list to filter (separated by ",")

Example: ca-filters=0x4e1abf46b3cfba7c64755f280e3c7349cf0f65ac,0x251f622e8b5e713f357e9c4d990e91da2f448134
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
get/v2/account/{address}/token
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://th-api.klaytnapi.com/v2/account/{address}/token?kind=string&size=0&ca-filters=string&cursor=string' \
  -H 'x-chain-id: string'
Response samples
application/json
{
  • "items": [
    ],
  • "cursor": ""
}