Selecting an EOA will get all token data by EOA.
ft
: ft
balances existing in the contract will be included in the responsenft
: Tokens existing in the contract will be included in the responsemt
: Token balances existing in the contract will be included in the responsesize
is optional. (Min = 1, Max = 1000, Default = 100)size=100
) when given a 0size=1000
) when given a value higher than 1000curl -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'
{- "items": [
- {
- "kind": "nft",
- "contractAddress": "0xfa9a1b66b970dc713ae71d56a7cc44b573d4c8f7",
- "updatedAt": 1607993770,
- "balance": "0x1",
- "lastTransfer": {
- "transactionHash": "0xc724efc8bd9e62d6149cfcb6ae08b6eb7b47fff16dfe0c1f169160ed1b4870e5",
- "transferFrom": "0xbdfaeffb231ed4ef4600a8be4f5aa02ba4821708",
- "transferTo": "0x034e13e54e62c6ea3614a04b81e95cf4a4f18a21"
},
}, - {
- "kind": "ft",
- "contractAddress": "0x66ac22b457006c3f519e4a5c49ff19eb531bba4e",
- "updatedAt": 1607993770,
- "balance": "0x15e",
- "lastTransfer": {
- "transactionHash": "0xcd23a37616840f997298a6ae62effb8d28303b1a22ee0acc73f8e486714837ff",
- "transferFrom": "0xbdfaeffb231ed4ef4600a8be4f5aa02ba4821708",
- "transferTo": "0x034e13e54e62c6ea3614a04b81e95cf4a4f18a21"
}, - "extras": {
- "name": "KASFT",
- "symbol": "KFT",
- "decimals": 18,
- "totalSupply": "0xde0b6b3a7640000",
- "formattedValue": "0.00000000000000035"
}
}, - {
- "kind": "mt",
- "contractAddress": "0x2b2e50e8c8e0d097f22ac9389af2f354d18d2882",
- "updatedAt": 1607993770,
- "balance": "0x1c2",
- "lastTransfer": {
- "transactionHash": "0x85263b3d17fe92edd4a665bb65211c5b8a08e88ebeb0474f477bc4484eb26096",
- "transferFrom": "0xbdfaeffb231ed4ef4600a8be4f5aa02ba4821708",
- "transferTo": "0x034e13e54e62c6ea3614a04b81e95cf4a4f18a21"
}, - "extras": {
- "tokenId": "0x1",
- "totalSupply": "0xde0b6b3a7640000"
}
}
], - "cursor": ""
}