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 Polygon Blockbook JSON-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

vin
array

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

n
integer

The nonce of this transaction

addresses
string

An array of addresses in this transaction

isAddress
boolean

Boolean value of whether there is an address or not

vout
array

An array of output transaction objects for the current transaction

value
string

The value of this transaction in satoshis

n
integer

The nonce of this transaction

addresses
string

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

value
string

The total value of the transaction

fees
string

The fees for the transaction

tokenTransfers
array

An array containing details of token transfers within the transaction

type
string

The type of token transfer

from
string

The address from which the tokens are transferred.

to
string

The address to which the tokens are transferred

contract
string

The address of the token contract

name
string

The name of the token

symbol
string

The symbol of the token

decimals
integer

The number of decimal places used by the token

value
string

The value of the token transfer

ethereumSpecific
object

Object containing Ethereum-specific transaction details

status
integer

The transaction status

nonce
integer

The nonce of the transaction

gasLimit
integer

The gas limit of the transaction

gasUsed
integer

The gas used by the transaction

gasPrice
string

The gas price of the transaction

data
string

The data associated with the transaction

parsedData
object

The parsed data object which contains the following fields:

methodId
string

The method id of the transaction data

name
string

The name associated with the method ID

function
string

The name of the function being called in the smart contract

params
array

An array containing information about the parameters passed to the function

type
string

The data type of the parameter

value
array

The values of the parameters passed to the function

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