Skip to main content

bb_getBlock RPC Method - Blockbook

Returns information about the block with transaction objects.

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

Parameters

block
string
REQUIRED

The block hash or block height (as a string)

object
object

The options object with the following fields:

page
integer

The page you would like to retrieve.

Returns

page
integer

The page number returned in this response

totalPages
integer

The number of pages available for your original query

itemsOnPage
integer

The maximum number of transactions returned in this response

hash
string

The block hash

previousBlockHash
string

The hash of the previous block

nextBlockHash
string

The hash of the next block

height
integer

The block height or index

confirmations
integer

The number of confirmations

size
integer

The size of the block in bytes

time
integer

The block time (UNIX epoch)

version
integer

The block version

merkleRoot
string

The merkle root

nonce
string

Block nonce

bits
string

The difficulty bits

difficulty
string

Difficulty of the block

txCount
integer

Total number of transactions in the block

txs
array

List of transaction objects

txid
string

The transaction ID

vin
array

Transaction inputs

n
integer

Index of the input

addresses
array

Addresses providing the input

isAddress
boolean

True if input is from a known address

value
string

Input value in the smallest unit of DOGE (koinu)

vout
array

Transaction outputs

value
string

Output value in the smallest unit of DOGE (koinu)

n
integer

Output index

addresses
array

Destination addresses

isAddress
boolean

True if output is to an address

spent
boolean

Whether this output has been spent

blockHash
string

Hash of the block containing this transaction

blockHeight
integer

Height of the block containing this transaction

confirmations
integer

Confirmations since inclusion in a block

blockTime
integer

Timestamp of the block

value
string

Total output value of the transaction in the smallest unit of DOGE (koinu)

valueIn
string

Total input value of the transaction in the smallest unit of DOGE (koinu)

fees
string

Fees paid for this transaction in the smallest unit of DOGE (koinu)

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"page": 1,
6
"totalPages": 1,
7
"itemsOnPage": 1000,
8
"hash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
9
"previousBlockHash": "6d7403d29aed373e965f8d6c06f49a2d8345105f16bdc66e2e0e9e466e6fa66f",
10
"nextBlockHash": "8b4b06c9d55a0c8fbba308dc30fb8b86d5fb456ee443fad10ec4e2adbc1e48dd",
11
"height": 2848849,
12
"confirmations": 3302183,
13
"size": 1150,
14
"time": 1565642735,
15
"version": 6422787,
16
"merkleRoot": "aac70144b71d863580e120ccf9f4df5f80778e372e3d6f872b826eda1c72d820",
17
"nonce": "0",
18
"bits": "1a031cbe",
19
"difficulty": "5390579.069844974",
20
"txCount": 3,
21
"txs": [
22
{
23
"txid": "7d2960bfd16d17fa8619df0e13dbef3951d1cd4c4b2d2970c4e6d607f15f57e7",
24
"vin": [
25
{
26
"n": 0,
27
"isAddress": false,
28
"value": "0"
29
}
30
],
31
"vout": [
32
{
33
"value": "1000300000000",
34
"n": 0,
35
"spent": true,
36
"addresses": [
37
"D9MGcB3MipEiKwQQnjCK39aTLnJcAg7pWN"
38
],
39
"isAddress": true
40
}
41
],
42
"blockHash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
43
"blockHeight": 2848849,
44
"confirmations": 3302183,
45
"blockTime": 1565642735,
46
"value": "1000300000000",
47
"valueIn": "0",
48
"fees": "0"
49
},
50
{
51
"txid": "8cc55070a2f78a3438c554327edc713ea4cce4cae3435233ed118b37b1c9e8cc",
52
"vin": [
53
{
54
"n": 0,
55
"addresses": [
56
"DA4tSVBQXdZg19bRZj1qWEADAJwCkLST23"
57
],
58
"isAddress": true,
59
"value": "4651300000000"
60
}
61
],
62
"vout": [
63
{
64
"value": "500000000000",
65
"n": 0,
66
"spent": true,
67
"addresses": [
68
"D94vAGyBXNrRQZJkMAJTjuLaonhLeFHc66"
69
],
70
"isAddress": true
71
},
72
{
73
"value": "4151200000000",
74
"n": 1,
75
"spent": true,
76
"addresses": [
77
"DA4tSVBQXdZg19bRZj1qWEADAJwCkLST23"
78
],
79
"isAddress": true
80
}
81
],
82
"blockHash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
83
"blockHeight": 2848849,
84
"confirmations": 3302183,
85
"blockTime": 1565642735,
86
"value": "4651200000000",
87
"valueIn": "4651300000000",
88
"fees": "100000000"
89
},
90
{
91
"txid": "d1a65dcb78559b25a878bdca162ba68c09829a498db5eccce72283c4a62ebc33",
92
"vin": [
93
{
94
"n": 0,
95
"addresses": [
96
"9w5WA8rm3QAHdUETwDqBNXoUfBx4LFAGQP"
97
],
98
"isAddress": true,
99
"value": "1730606873583"
100
}
101
],
102
"vout": [
103
{
104
"value": "3700000000",
105
"n": 0,
106
"spent": true,
107
"addresses": [
108
"DJXjArysX7mQ3Cokn4yK5Wx83tifwsWYR9"
109
],
110
"isAddress": true
111
},
112
{
113
"value": "1726706873583",
114
"n": 1,
115
"spent": true,
116
"addresses": [
117
"9w5WA8rm3QAHdUETwDqBNXoUfBx4LFAGQP"
118
],
119
"isAddress": true
120
}
121
],
122
"blockHash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
123
"blockHeight": 2848849,
124
"confirmations": 3302183,
125
"blockTime": 1565642735,
126
"value": "1730406873583",
127
"valueIn": "1730606873583",
128
"fees": "200000000"
129
}
130
]
131
}
132
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"page": 1,
6
"totalPages": 1,
7
"itemsOnPage": 1000,
8
"hash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
9
"previousBlockHash": "6d7403d29aed373e965f8d6c06f49a2d8345105f16bdc66e2e0e9e466e6fa66f",
10
"nextBlockHash": "8b4b06c9d55a0c8fbba308dc30fb8b86d5fb456ee443fad10ec4e2adbc1e48dd",
11
"height": 2848849,
12
"confirmations": 3302183,
13
"size": 1150,
14
"time": 1565642735,
15
"version": 6422787,
16
"merkleRoot": "aac70144b71d863580e120ccf9f4df5f80778e372e3d6f872b826eda1c72d820",
17
"nonce": "0",
18
"bits": "1a031cbe",
19
"difficulty": "5390579.069844974",
20
"txCount": 3,
21
"txs": [
22
{
23
"txid": "7d2960bfd16d17fa8619df0e13dbef3951d1cd4c4b2d2970c4e6d607f15f57e7",
24
"vin": [
25
{
26
"n": 0,
27
"isAddress": false,
28
"value": "0"
29
}
30
],
31
"vout": [
32
{
33
"value": "1000300000000",
34
"n": 0,
35
"spent": true,
36
"addresses": [
37
"D9MGcB3MipEiKwQQnjCK39aTLnJcAg7pWN"
38
],
39
"isAddress": true
40
}
41
],
42
"blockHash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
43
"blockHeight": 2848849,
44
"confirmations": 3302183,
45
"blockTime": 1565642735,
46
"value": "1000300000000",
47
"valueIn": "0",
48
"fees": "0"
49
},
50
{
51
"txid": "8cc55070a2f78a3438c554327edc713ea4cce4cae3435233ed118b37b1c9e8cc",
52
"vin": [
53
{
54
"n": 0,
55
"addresses": [
56
"DA4tSVBQXdZg19bRZj1qWEADAJwCkLST23"
57
],
58
"isAddress": true,
59
"value": "4651300000000"
60
}
61
],
62
"vout": [
63
{
64
"value": "500000000000",
65
"n": 0,
66
"spent": true,
67
"addresses": [
68
"D94vAGyBXNrRQZJkMAJTjuLaonhLeFHc66"
69
],
70
"isAddress": true
71
},
72
{
73
"value": "4151200000000",
74
"n": 1,
75
"spent": true,
76
"addresses": [
77
"DA4tSVBQXdZg19bRZj1qWEADAJwCkLST23"
78
],
79
"isAddress": true
80
}
81
],
82
"blockHash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
83
"blockHeight": 2848849,
84
"confirmations": 3302183,
85
"blockTime": 1565642735,
86
"value": "4651200000000",
87
"valueIn": "4651300000000",
88
"fees": "100000000"
89
},
90
{
91
"txid": "d1a65dcb78559b25a878bdca162ba68c09829a498db5eccce72283c4a62ebc33",
92
"vin": [
93
{
94
"n": 0,
95
"addresses": [
96
"9w5WA8rm3QAHdUETwDqBNXoUfBx4LFAGQP"
97
],
98
"isAddress": true,
99
"value": "1730606873583"
100
}
101
],
102
"vout": [
103
{
104
"value": "3700000000",
105
"n": 0,
106
"spent": true,
107
"addresses": [
108
"DJXjArysX7mQ3Cokn4yK5Wx83tifwsWYR9"
109
],
110
"isAddress": true
111
},
112
{
113
"value": "1726706873583",
114
"n": 1,
115
"spent": true,
116
"addresses": [
117
"9w5WA8rm3QAHdUETwDqBNXoUfBx4LFAGQP"
118
],
119
"isAddress": true
120
}
121
],
122
"blockHash": "aa9f5574af17400aa7be49b3c2b644c3c8dcb99f15366f3fed270357a7f6ef04",
123
"blockHeight": 2848849,
124
"confirmations": 3302183,
125
"blockTime": 1565642735,
126
"value": "1730406873583",
127
"valueIn": "1730606873583",
128
"fees": "200000000"
129
}
130
]
131
}
132
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free