get https://api.amberdata.com/blockchains/addresses//portfolio
Shows the last known portfolio composition of an address, including native and token holdings
RESPONSE DATA
Data Freshness
This endpoint guarantees a data freshness SLA of 1 hour, ensuring data stability and accuracy. By maintaining a one-hour delay from the latest block of the respective chain, we prevent customers from encountering data that might change due to blockchain reorganizations.
UTXO Addresses
The
address
path parameter is case sensitive for UTXO chains (e.g. Bitcoin, Litecoin, Bitcoin-Cash).address
for all other chains is case insensitive.
Parameter | Type | Description |
---|---|---|
payload.metadata.apiVersion | string | The version of the API |
payload.metadata.next | string | Pagination |
payload.data[index].address | string | The address of the account |
payload.data[index].blockchain | string | The id of the blockchain the object records correspond to |
payload.data[index].networkBalance | string | The native balance of the account, normalized by the decimals of the native network token. (e.g ETH, MATIC ..) |
payload.data[index].networkBalanceBlockNumber | integer | The block number corresponding to the latest known networkBalance |
payload.data[index].networkBalanceRaw | string | The native balance of the account (e.g wei, satoshi's..) |
payload.data[index].tokens[index].address | string | The address of the token the balance corresponds to |
payload.data[index].tokens[index].balance | string | The token balance of the account, normalized by the decimals of the token |
payload.data[index].tokens[index].balanceRaw | string | The token balance of the account |
payload.data[index].tokens[index].blockNumber | integer | The block number corresponding to the latest known balance |
payload.data[index].tokens[index].decimals | integer | The decimals of the token the balance corresponds to |
payload.data[index].tokens[index].name | string | The name of the token the balance corresponds to |
payload.data[index].tokens[index].symbol | string | The symbol of the token the balance corresponds to |
payload.data[index].tokens[index].timestamp | datetime | The timestamp corresponding to the latest known balance |