Skip to main content

bb_getXPUB RPC Method - Blockbook

Loading...

Updated on
Jun 16, 2026

bb_getXPUB RPC Method - Blockbook

Please note that this RPC method requires the Blockbook RPC add-on enabled on your Quicknode endpoint.

Parameters

address
string
REQUIRED
Loading...
object
object
Loading...
page
integer
Loading...
size
integer
Loading...
fromHeight
integer
Loading...
toHeight
integer
Loading...
details
string
Loading...
secondary
string
Loading...
filter
string
Loading...
contract
string
Loading...
protocols
string
Loading...
gap
integer
Loading...

Returns

page
integer
Loading...
totalPages
integer
Loading...
itemsOnPage
integer
Loading...
address
string
Loading...
balance
string
Loading...
totalReceived
string
Loading...
totalSent
string
Loading...
unconfirmedBalance
string
Loading...
unconfirmedTxs
integer
Loading...
txs
integer
Loading...
txids
array
Loading...
tokens
array
Loading...
type
string
Loading...
name
string
Loading...
path
string
Loading...
transfers
integer
Loading...
decimals
integer
Loading...
balance
string
Loading...
totalReceived
string
Loading...
totalSent
string
Loading...
Request
1
curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "bb_getXPUB",
6
"params": [
7
"xpub661MyMwAqRbcGrx39FhTVkPJSd1oMiD8P8Vu4EP8SHyuvhqnaqu9VeK4m43WPPXouHpuUakK77Y6GzqCCKYYiCTsxhPBjmqhrfHqosmEFjL",
8
{
9
"page": 1,
10
"size": 1000,
11
"fromHeight": 0,
12
"details": "txids"
13
}
14
],
15
"id": 1
16
}'
1
curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "bb_getXPUB",
6
"params": [
7
"xpub661MyMwAqRbcGrx39FhTVkPJSd1oMiD8P8Vu4EP8SHyuvhqnaqu9VeK4m43WPPXouHpuUakK77Y6GzqCCKYYiCTsxhPBjmqhrfHqosmEFjL",
8
{
9
"page": 1,
10
"size": 1000,
11
"fromHeight": 0,
12
"details": "txids"
13
}
14
],
15
"id": 1
16
}'
Response
1
{
2
"id": 1,
3
"result": {
4
"page": 1,
5
"totalPages": 1,
6
"itemsOnPage": 1000,
7
"address": "xpub...",
8
"balance": "0",
9
"totalReceived": "0",
10
"totalSent": "0",
11
"unconfirmedBalance": "0",
12
"unconfirmedTxs": 0,
13
"txs": 0,
14
"tokens": []
15
},
16
"jsonrpc": "2.0"
17
}
1
{
2
"id": 1,
3
"result": {
4
"page": 1,
5
"totalPages": 1,
6
"itemsOnPage": 1000,
7
"address": "xpub...",
8
"balance": "0",
9
"totalReceived": "0",
10
"totalSent": "0",
11
"unconfirmedBalance": "0",
12
"unconfirmedTxs": 0,
13
"txs": 0,
14
"tokens": []
15
},
16
"jsonrpc": "2.0"
17
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free