Selecting an EOA will fetch data of all contracts of tokens 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}/contract?kind=string&size=0&cursor=string' \ -H 'x-chain-id: string'
{- "items": [
- {
- "kind": "nft",
- "contractAddress": "0xfa9a1b66b970dc713ae71d56a7cc44b573d4c8f7",
- "updatedAt": 1607993770,
- "totalBalance": "0x1",
- "extras": {
- "name": "KASNFT",
- "symbol": "KNFT",
- "totalSupply": "0x1"
}
}, - {
- "kind": "ft",
- "contractAddress": "0x66ac22b457006c3f519e4a5c49ff19eb531bba4e",
- "updatedAt": 1607993770,
- "totalBalance": "0x15e",
- "extras": {
- "name": "KASFT",
- "symbol": "KFT",
- "decimals": 18,
- "totalSupply": "0xde0b6b3a7640000",
- "formattedValue": "0.00000000000000035"
}
}, - {
- "kind": "mt",
- "contractAddress": "0x2b2e50e8c8e0d097f22ac9389af2f354d18d2882",
- "updatedAt": 1607993770,
- "totalBalance": "0x1c2",
- "extras": { }
}
], - "cursor": ""
}