GET
/
addresses
/
{hash}
/
token-balances
/
latest
Token Balances Latest
curl --request GET \
  --url https://api.amberdata.com/blockchains/addresses/{hash}/token-balances/latest \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "totalRecords": 84,
  "payload": {
    "totalRecords": 804219,
    "records": [
      {
        "blockchainId": "1c9c969065fcd1cf",
        "amount": "100000100000000000000000000",
        "address": "0xfa6f7881e52fdf912c4a285d78a3141b089ce859",
        "holder": "0xbae25a69a6eb7341ee834be7635e247e22a1e57a",
        "decimals": "18",
        "name": "Avocado",
        "symbol": "CK",
        "isERC20": false,
        "isERC721": true,
        "isERC777": false,
        "isERC884": false,
        "isERC998": false
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-amberdata-blockchain-id
enum<string>
default:ethereum-mainnet

The id of the blockchain

Available options:
ethereum-mainnet,
polygon-mainnet,
solana-mainnet

Path Parameters

hash
string
default:0x19bf56fca395a600c20f732b05757f30ad24a719
required

address to retrieve tokens for

Query Parameters

direction
string

The direction by which to sort the tokens (ascending or descending).

includePrice
string

Indicates whether or not to include price data with the results. Options: true, false. <a href="https://docs.amberdata.io/reference#query-params">More Details.</a>

currency
string

The currency of the price information (usd or eth.) - only used in conjunction with includePrice. <a href="https://docs.amberdata.io/reference#query-params">More Details.</a>

sortType
string

The metric by which to rank the tokens (amount, name, symbol).

page
string
default:0

The page number to return.

size
string
default:50

The number of records per page.

Response

200
application/json

200

The response is of type object.