Skip to main content

bb_getTx RPC Method - Blockbook

Returns transaction object for the transaction hash.

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

Parameters

txid
string
REQUIRED

The transaction id

Returns

result
object

The details of the result

txid
string

The transaction id

version
integer

The transaction version

vin
array

An array of transaction objects used as inputs for the current transaction

txid
string

The transaction id

vout
array

The output index

sequence
integer

The transaction sequence

n
integer

The nonce of this transaction

addresses
array

An array of addresses in this transaction

isAddress
boolean

Boolean value of whether there is an address or not

value
string

The value of this transaction in zatoshis

vout
array

An array of output transaction objects for the current transaction

value
string

The value of this transaction in zatoshis

n
integer

The nonce of this transaction

spent
boolean

Boolean value of whether the transaction has been spent

hex
string

The raw hexadecimal representation of the transaction

addresses
array

An array of addresses in this transaction

isAddress
boolean

Boolean value of whether there is an address or not

blockHash
string

The hash of the block at which the transaction was included

blockHeight
integer

The block height at which the transaction output was created

confirmations
integer

The number of confirmations since this transaction was included in a block

blockTime
integer

The unix timestamp of when the block was confirmed

size
integer

The size of the transaction in bytes

value
string

The total value of the transaction in zatoshis

valueIn
string

The value transmitted in the transaction less fees denominated in zatoshis

fees
string

The transaction fees denominated in zatoshis

hex
string

The raw hexadecimal representation of the transaction

Request
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