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

The transaction id

version

The transaction version

vin

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

txid

The transaction id

vout

The output index

sequence

The transaction sequence

n

The nonce of this transaction

addresses

An array of addresses in this transaction

isAddress

Boolean value of whether there is an address or not

value

The value of this transaction in satoshis

vout

An array of output transaction objects for the current transaction

value

The value of this transaction in satoshis

n

The nonce of this transaction

spent

Boolean value of whether the transaction has been spent

hex

The raw hexadecimal representation of the transaction

addresses

An array of addresses in this transaction

isAddress

Boolean value of whether there is an address or not

blockHash

The hash of the block at which the transaction was included

blockHeight

The block height at which the transaction output was created

confirmations

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

blockTime

The unix timestamp of when the block was confirmed

size

The size of the transaction in bytes

vsize

The virtual size of the transaction in bytes (read more)

value

The total value of the transaction in satoshis

valueIn

The value transmitted in the transaction less fees denominated in satoshis

fees

The fees for the transaction denominated in satoshis

hex

The raw hexadecimal representation of the transaction

Request
Response
1
{
2
"id": 1,
3
"result": {
4
"txid": "0xd5ab71b461328b84ade881cdb8fb923ba9254abf5e290f8f7b3299082fb5218f",
5
"vin": [
6
{
7
"n": 0,
8
"addresses": [
9
"0xEA60B5FAbf224041119e29cE4e75513BC73F5Edf"
10
],
11
"isAddress": true
12
}
13
],
14
"vout": [
15
{
16
"value": "0",
17
"n": 0,
18
"addresses": [
19
"0x3a05E5d33d7Ab3864D53aaEc93c8301C1Fa49115"
20
],
21
"isAddress": true
22
}
23
],
24
"blockHash": "0x043976bc1e8efaf2f4b0e241dfa3ba9f42aa5a1df8ae6548e1f9a9cd256ca9d7",
25
"blockHeight": 19441691,
26
"confirmations": 2920152,
27
"blockTime": 1710521975,
28
"value": "0",
29
"fees": "7608183561313657",
30
"tokenTransfers": [
31
{
32
"type": "ERC20",
33
"from": "0xEA60B5FAbf224041119e29cE4e75513BC73F5Edf",
34
"to": "0xa230285d5683C74935aD14c446e137c8c8828438",
35
"contract": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
36
"name": "Dai Stablecoin",
37
"symbol": "DAI",
38
"decimals": 18,
39
"value": "9800000000000000000000"
40
}
41
],
42
"ethereumSpecific": {
43
"status": 1,
44
"nonce": 59,
45
"gasLimit": 1000000,
46
"gasUsed": 163171,
47
"gasPrice": "46627057267",
48
"data": "0x870876230000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000430000000000000000000000000000000000000300000000000000000000000000000000000000000000021342520d5fec20000000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
49
"parsedData": {
50
"methodId": "0x87087623",
51
"name": "Bridge ERC20",
52
"function": "bridgeERC20(address, address, uint256, uint32, bytes)",
53
"params": [
54
{
55
"type": "address",
56
"values": [
57
"0x6B175474E89094C44Da98b954EedeAC495271d0F"
58
]
59
},
60
{
61
"type": "address",
62
"values": [
63
"0x4300000000000000000000000000000000000003"
64
]
65
},
66
{
67
"type": "uint256",
68
"values": [
69
"9800000000000000000000"
70
]
71
},
72
{
73
"type": "uint32",
74
"values": [
75
"800000"
76
]
77
},
78
{
79
"type": "bytes",
80
"values": [
81
""
82
]
83
}
84
]
85
}
86
},
87
"addressAliases": {
88
"0xEA60B5FAbf224041119e29cE4e75513BC73F5Edf": {
89
"Type": "ENS",
90
"Alias": "luccastera.eth"
91
}
92
}
93
},
94
"jsonrpc": "2.0"
95
}
1
{
2
"id": 1,
3
"result": {
4
"txid": "0xd5ab71b461328b84ade881cdb8fb923ba9254abf5e290f8f7b3299082fb5218f",
5
"vin": [
6
{
7
"n": 0,
8
"addresses": [
9
"0xEA60B5FAbf224041119e29cE4e75513BC73F5Edf"
10
],
11
"isAddress": true
12
}
13
],
14
"vout": [
15
{
16
"value": "0",
17
"n": 0,
18
"addresses": [
19
"0x3a05E5d33d7Ab3864D53aaEc93c8301C1Fa49115"
20
],
21
"isAddress": true
22
}
23
],
24
"blockHash": "0x043976bc1e8efaf2f4b0e241dfa3ba9f42aa5a1df8ae6548e1f9a9cd256ca9d7",
25
"blockHeight": 19441691,
26
"confirmations": 2920152,
27
"blockTime": 1710521975,
28
"value": "0",
29
"fees": "7608183561313657",
30
"tokenTransfers": [
31
{
32
"type": "ERC20",
33
"from": "0xEA60B5FAbf224041119e29cE4e75513BC73F5Edf",
34
"to": "0xa230285d5683C74935aD14c446e137c8c8828438",
35
"contract": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
36
"name": "Dai Stablecoin",
37
"symbol": "DAI",
38
"decimals": 18,
39
"value": "9800000000000000000000"
40
}
41
],
42
"ethereumSpecific": {
43
"status": 1,
44
"nonce": 59,
45
"gasLimit": 1000000,
46
"gasUsed": 163171,
47
"gasPrice": "46627057267",
48
"data": "0x870876230000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000430000000000000000000000000000000000000300000000000000000000000000000000000000000000021342520d5fec20000000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
49
"parsedData": {
50
"methodId": "0x87087623",
51
"name": "Bridge ERC20",
52
"function": "bridgeERC20(address, address, uint256, uint32, bytes)",
53
"params": [
54
{
55
"type": "address",
56
"values": [
57
"0x6B175474E89094C44Da98b954EedeAC495271d0F"
58
]
59
},
60
{
61
"type": "address",
62
"values": [
63
"0x4300000000000000000000000000000000000003"
64
]
65
},
66
{
67
"type": "uint256",
68
"values": [
69
"9800000000000000000000"
70
]
71
},
72
{
73
"type": "uint32",
74
"values": [
75
"800000"
76
]
77
},
78
{
79
"type": "bytes",
80
"values": [
81
""
82
]
83
}
84
]
85
}
86
},
87
"addressAliases": {
88
"0xEA60B5FAbf224041119e29cE4e75513BC73F5Edf": {
89
"Type": "ENS",
90
"Alias": "luccastera.eth"
91
}
92
}
93
},
94
"jsonrpc": "2.0"
95
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free