Skip to main content

bb_getBalanceHistory RPC Method - Blockbook

Returns a balance history for the specified address.

Updated on
Aug 09, 2026
Please note that this RPC method requires the Blockbook RPC enabled on your Quicknode endpoint.

Parameters

address
string
REQUIRED

Typically a Zcash transparent address

object
object

An object specifying additional parameters:

from
string
REQUIRED

The starting Unix timestamp (in seconds) of the time range for which balance history is requested

to
string

The ending Unix timestamp (in seconds) of the time range for which balance history is requested

fiatcurrency
string

The fiat currency in which to convert the balance values

groupBy
integer

The time interval (in seconds) for grouping the balance data

gap
integer

The gap limit used when deriving addresses from an extended public key (xpub). Defaults to 20.

Returns

time
integer

The Unix timestamp (in seconds) representing the end time of the specified time interval

txs
integer

The number of transactions that occurred within the specified time interval

received
string

The total amount of ZEC received by the address during the specified time interval

sent
string

The total amount of ZEC sent from the address during the specified time interval

sentToSelf
string

The total amount of ZEC sent from the address to itself during the specified time interval

rates
object

An object providing exchange rates for the specified fiat currencies

Request
Response
1
{
2
"id": 1,
3
"result": [
4
{
5
"time": 1683684000,
6
"txs": 8,
7
"received": "2000399945",
8
"sent": "0",
9
"sentToSelf": "0",
10
"rates": {
11
"usd": 32.059723
12
}
13
},
14
{
15
"time": 1683687600,
16
"txs": 6,
17
"received": "1500112724",
18
"sent": "0",
19
"sentToSelf": "0",
20
"rates": {
21
"usd": 32.059723
22
}
23
},
24
{
25
"time": 1683691200,
26
"txs": 5,
27
"received": "1250053182",
28
"sent": "0",
29
"sentToSelf": "0",
30
"rates": {
31
"usd": 32.059723
32
}
33
},
34
{
35
"time": 1683694800,
36
"txs": 4,
37
"received": "1000111134",
38
"sent": "0",
39
"sentToSelf": "0",
40
"rates": {
41
"usd": 32.059723
42
}
43
},
44
{
45
"time": 1683698400,
46
"txs": 2,
47
"received": "500066839",
48
"sent": "0",
49
"sentToSelf": "0",
50
"rates": {
51
"usd": 32.059723
52
}
53
}
54
],
55
"jsonrpc": "2.0"
56
}
1
{
2
"id": 1,
3
"result": [
4
{
5
"time": 1683684000,
6
"txs": 8,
7
"received": "2000399945",
8
"sent": "0",
9
"sentToSelf": "0",
10
"rates": {
11
"usd": 32.059723
12
}
13
},
14
{
15
"time": 1683687600,
16
"txs": 6,
17
"received": "1500112724",
18
"sent": "0",
19
"sentToSelf": "0",
20
"rates": {
21
"usd": 32.059723
22
}
23
},
24
{
25
"time": 1683691200,
26
"txs": 5,
27
"received": "1250053182",
28
"sent": "0",
29
"sentToSelf": "0",
30
"rates": {
31
"usd": 32.059723
32
}
33
},
34
{
35
"time": 1683694800,
36
"txs": 4,
37
"received": "1000111134",
38
"sent": "0",
39
"sentToSelf": "0",
40
"rates": {
41
"usd": 32.059723
42
}
43
},
44
{
45
"time": 1683698400,
46
"txs": 2,
47
"received": "500066839",
48
"sent": "0",
49
"sentToSelf": "0",
50
"rates": {
51
"usd": 32.059723
52
}
53
}
54
],
55
"jsonrpc": "2.0"
56
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free