Skip to main content

bb_getTx RPC Method - Blockbook

Loading...

Updated on
Apr 30, 2026

bb_getTx RPC Method - Blockbook

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

Parameters

txid
string
REQUIRED
Loading...

Returns

result
object
Loading...
txid
string
Loading...
version
integer
Loading...
vin
array
Loading...
txid
string
Loading...
vout
array
Loading...
sequence
integer
Loading...
n
integer
Loading...
addresses
array
Loading...
isAddress
boolean
Loading...
value
string
Loading...
vout
array
Loading...
value
string
Loading...
n
integer
Loading...
spent
boolean
Loading...
hex
string
Loading...
addresses
array
Loading...
isAddress
boolean
Loading...
blockHash
string
Loading...
blockHeight
integer
Loading...
confirmations
integer
Loading...
blockTime
integer
Loading...
size
integer
Loading...
value
string
Loading...
valueIn
string
Loading...
fees
string
Loading...
hex
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_getTx",
6
"params": [
7
"6148af5e4e8b6cf15cbf9ed11500eee15ec3ca2928b16eb05b7aa3958f7ed54a"
8
],
9
"id": 1
10
}'
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_getTx",
6
"params": [
7
"6148af5e4e8b6cf15cbf9ed11500eee15ec3ca2928b16eb05b7aa3958f7ed54a"
8
],
9
"id": 1
10
}'
Response
1
{
2
"id": 1,
3
"result": {
4
"txid": "6148af5e4e8b6cf15cbf9ed11500eee15ec3ca2928b16eb05b7aa3958f7ed54a",
5
"version": 4,
6
"vin": [
7
{
8
"sequence": 4294967295,
9
"n": 0,
10
"isAddress": false,
11
"coinbase": "0380841e00"
12
}
13
],
14
"vout": [
15
{
16
"value": "250062746",
17
"n": 0,
18
"spent": true,
19
"hex": "76a91417a33a9bb0583ef52944aaf5591cc1740511af8188ac",
20
"addresses": [
21
"t1L2b66MXbgpVMXDfUa94GCBFAN4dCxGohM"
22
],
23
"isAddress": true
24
},
25
{
26
"value": "21875000",
27
"n": 1,
28
"spent": true,
29
"hex": "a9145d190948e5a6982893512c6d269ea14e96018f7e87",
30
"addresses": [
31
"t3T3smGZn6BoSFXWWXa1RaoQdcyaFjMfuYK"
32
],
33
"isAddress": true
34
},
35
{
36
"value": "25000000",
37
"n": 2,
38
"spent": true,
39
"hex": "a914931fec54c1fea86e574462cc32013f5400b8912987",
40
"addresses": [
41
"t3XyYW8yBFRuMnfvm5KLGFbEVz25kckZXym"
42
],
43
"isAddress": true
44
},
45
{
46
"value": "15625000",
47
"n": 3,
48
"spent": true,
49
"hex": "a914d45cb1adffb5215a42720532a076f02c7c778c9087",
50
"addresses": [
51
"t3dvVE3SQEi7kqNzwrfNePxZ1d4hUyztBA1"
52
],
53
"isAddress": true
54
}
55
],
56
"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",
57
"blockHeight": 2000000,
58
"confirmations": 1326070,
59
"blockTime": 1677602242,
60
"size": 205,
61
"value": "312562746",
62
"valueIn": "0",
63
"fees": "0"
64
},
65
"jsonrpc": "2.0"
66
}
1
{
2
"id": 1,
3
"result": {
4
"txid": "6148af5e4e8b6cf15cbf9ed11500eee15ec3ca2928b16eb05b7aa3958f7ed54a",
5
"version": 4,
6
"vin": [
7
{
8
"sequence": 4294967295,
9
"n": 0,
10
"isAddress": false,
11
"coinbase": "0380841e00"
12
}
13
],
14
"vout": [
15
{
16
"value": "250062746",
17
"n": 0,
18
"spent": true,
19
"hex": "76a91417a33a9bb0583ef52944aaf5591cc1740511af8188ac",
20
"addresses": [
21
"t1L2b66MXbgpVMXDfUa94GCBFAN4dCxGohM"
22
],
23
"isAddress": true
24
},
25
{
26
"value": "21875000",
27
"n": 1,
28
"spent": true,
29
"hex": "a9145d190948e5a6982893512c6d269ea14e96018f7e87",
30
"addresses": [
31
"t3T3smGZn6BoSFXWWXa1RaoQdcyaFjMfuYK"
32
],
33
"isAddress": true
34
},
35
{
36
"value": "25000000",
37
"n": 2,
38
"spent": true,
39
"hex": "a914931fec54c1fea86e574462cc32013f5400b8912987",
40
"addresses": [
41
"t3XyYW8yBFRuMnfvm5KLGFbEVz25kckZXym"
42
],
43
"isAddress": true
44
},
45
{
46
"value": "15625000",
47
"n": 3,
48
"spent": true,
49
"hex": "a914d45cb1adffb5215a42720532a076f02c7c778c9087",
50
"addresses": [
51
"t3dvVE3SQEi7kqNzwrfNePxZ1d4hUyztBA1"
52
],
53
"isAddress": true
54
}
55
],
56
"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",
57
"blockHeight": 2000000,
58
"confirmations": 1326070,
59
"blockTime": 1677602242,
60
"size": 205,
61
"value": "312562746",
62
"valueIn": "0",
63
"fees": "0"
64
},
65
"jsonrpc": "2.0"
66
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free