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
Loading...
version
Loading...
vin
Loading...
txid
Loading...
vout
Loading...
sequence
Loading...
n
Loading...
addresses
Loading...
isAddress
Loading...
value
Loading...
vout
Loading...
value
Loading...
n
Loading...
spent
Loading...
hex
Loading...
addresses
Loading...
isAddress
Loading...
blockHash
Loading...
blockHeight
Loading...
confirmations
Loading...
blockTime
Loading...
size
Loading...
vsize
Loading...
value
Loading...
valueIn
Loading...
fees
Loading...
hex
Loading...
Request
1curl -X POST "https://docs-demo.btc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getTx",6"params": [7"8970770f2069d60d6ff0f8f405a702b0caac03ce418061fd4af7326ba2e67810"8],9"id": 110}'
1curl -X POST "https://docs-demo.btc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getTx",6"params": [7"8970770f2069d60d6ff0f8f405a702b0caac03ce418061fd4af7326ba2e67810"8],9"id": 110}'
Response
1{2"id": 1,3"result": {4"txid": "0xd5ab71b461328b84ade881cdb8fb923ba9254abf5e290f8f7b3299082fb5218f",5"vin": [6{7"n": 0,8"addresses": [9"0xEA60B5FAbf224041119e29cE4e75513BC73F5Edf"10],11"isAddress": true12}13],14"vout": [15{16"value": "0",17"n": 0,18"addresses": [19"0x3a05E5d33d7Ab3864D53aaEc93c8301C1Fa49115"20],21"isAddress": true22}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": true12}13],14"vout": [15{16"value": "0",17"n": 0,18"addresses": [19"0x3a05E5d33d7Ab3864D53aaEc93c8301C1Fa49115"20],21"isAddress": true22}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