GET
/
addresses
/
{hash}
/
account-balances
/
latest
Account Balance Latest
curl --request GET \
  --url https://api.amberdata.com/blockchains/addresses/{hash}/account-balances/latest \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "address": {
      "address": "0x06012c8cf97bead5deae237070f9587f8e7a266d"
    },
    "blockchainId": "1c9c969065fcd1cf",
    "blockNumber": "7817499",
    "timestamp": 1558635166000,
    "timestampNanoseconds": 0,
    "value": "59717752721124107170"
  }
}

Authorizations

x-api-key
string
header
required

Headers

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

The id of the blockchain

Available options:
bitcoin-mainnet,
bitcoin-abc-mainnet,
ethereum-mainnet,
litecoin-mainnet,
polygon-mainnet

Path Parameters

hash
string
default:0x06012c8cf97bead5deae237070f9587f8e7a266d
required

address to retrieve the account balance for

Query Parameters

includePrice
boolean

Indicates whether or not to include price data with the results. Options: true, false.

currency
string

The currency of the price information. Options: usd, btc. Only used in conjunction with includePrice.

realTime
string

[Optional] Indicates whether or not to pull data from blockchain via RCP call. Options: true, false <BR/> [Defaults] false

Response

200
application/json

200

The response is of type object.