Get account balance history.
Returns balance history points for an address, XPUB, or descriptor. from and to are Unix timestamps. groupBy is an aggregation interval in seconds and defaults to 3600. When fiatcurrency is omitted, rates can contain all available currencies. sentToSelf is the amount sent from an address to itself or within addresses of the same XPUB.
Load estimate: High; grows with account transaction history, time span, grouping cardinality, fiat rate lookups, and XPUB/descriptor gap.
Path parameters
Address, XPUB, or supported descriptor. URL-encode descriptors.
Query parameters
Unix timestamp lower bound.
Unix timestamp upper bound.
Optional fiat currency code to include in rates.
Aggregation interval in seconds. Defaults to 3600.
XPUB/address derivation gap limit. Values are capped by the server.
Response
Balance history points.
Example response
[
{
"received": "100000000",
"sent": "100000000",
"sentToSelf": "100000000"
}
]