Get Token List by Account

Returns a list of tokens held by a certain account.

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

Contract address (in hex.) or alias.

owner-address
required
string

The Kaia account address holding the tokens

query Parameters
size
integer

The number of items to return (min=1, max=1000, default=100).

cursor
string

The pointer for the next request, after which the result will be returned.

Example: cursor=eyJjm...ZSJ9
header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

Your request was successful.

400

The request is not valid.

404

The resource you requested does not exist.

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

Your request was successful.

{}