Skip to main content

bb_getTx RPC Method - Blockbook

Loading...

Updated on
Nov 12, 2025

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
1
curl https://docs-demo.btc.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"id": 1, "jsonrpc": "2.0", "method": "bb_getTx", "params": ["8970770f2069d60d6ff0f8f405a702b0caac03ce418061fd4af7326ba2e67810"]}'
5
Response
1
{
2
"id": null,
3
"result": {
4
"txid": "8970770f2069d60d6ff0f8f405a702b0caac03ce418061fd4af7326ba2e67810",
5
"version": 1,
6
"vin": [
7
{
8
"txid": "c04f05026cd92d1f569e8aa84611740ec39f907ba9fe80ac538c1c2dc459df8b",
9
"vout": 2,
10
"sequence": 4294967295,
11
"n": 0,
12
"addresses": [
13
"bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej"
14
],
15
"isAddress": true,
16
"value": "173863715"
17
}
18
],
19
"vout": [
20
{
21
"value": "1300000",
22
"n": 0,
23
"spent": true,
24
"hex": "0014c9994201826e9d65b2b93b03da694ee19e565d95",
25
"addresses": [
26
"bc1qexv5yqvzd6wktv4e8vpa562wux09vhv46dpan6"
27
],
28
"isAddress": true
29
},
30
{
31
"value": "2500000",
32
"n": 1,
33
"spent": true,
34
"hex": "a9142a24c16ea7aa21ee310ab8493e360b1e4ab9e94487",
35
"addresses": [
36
"35XrLRZ1EMvsDReqsrCj6L4W8fR38Z2D2V"
37
],
38
"isAddress": true
39
},
40
{
41
"value": "3754300",
42
"n": 2,
43
"spent": true,
44
"hex": "0014496d2d9d711be23c2c0e893606aa026eea1f438b",
45
"addresses": [
46
"bc1qf9kjm8t3r03rctqw3ymqd2szdm4p7suteums5d"
47
],
48
"isAddress": true
49
},
50
{
51
"value": "2500000",
52
"n": 3,
53
"spent": true,
54
"hex": "a914225e51a9f423bad92151f18c6b6dec25feece18287",
55
"addresses": [
56
"34pjtTvPrXZNA24EdJSuZiAz9p7z93TcjB"
57
],
58
"isAddress": true
59
},
60
{
61
"value": "163792375",
62
"n": 4,
63
"spent": true,
64
"hex": "0020701a8d401c84fb13e6baf169d59684e17abd9fa216c8cc5b9fc63d622ff8c58d",
65
"addresses": [
66
"bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej"
67
],
68
"isAddress": true
69
}
70
],
71
"blockHash": "00000000000000000004b0aeba2178792400bbb39881cac64edd6cffb85bfb0d",
72
"blockHeight": 807346,
73
"confirmations": 86856,
74
"blockTime": 1694526109,
75
"size": 474,
76
"vsize": 284,
77
"value": "173846675",
78
"valueIn": "173863715",
79
"fees": "17040",
80
"hex": "010000000001018bdf59c42d1c8c53ac80fea97b909fc30e741146a88a9e561f2dd96c02054fc00200000000ffffffff0520d6130000000000160014c9994201826e9d65b2b93b03da694ee19e565d95a02526000000000017a9142a24c16ea7aa21ee310ab8493e360b1e4ab9e944873c49390000000000160014496d2d9d711be23c2c0e893606aa026eea1f438ba02526000000000017a914225e51a9f423bad92151f18c6b6dec25feece18287f745c30900000000220020701a8d401c84fb13e6baf169d59684e17abd9fa216c8cc5b9fc63d622ff8c58d040047304402203c83b73cd2648d992c810a3c4615bc102dfce0e7c778db87e47b980c511f56ab022056ca36439d76b5ba5a188834eb094f1b78b6eb33826c925e450e3ad41511f038014730440220584520eb6aba9b3140c45464f52e76eb22f25fe5718ccff04e1dee3d6f49ecf4022028196ad261d1df76f27edad10f7bf687aeb9a2e83476c17e7c690c6a5184b137016952210375e00eb72e29da82b89367947f29ef34afb75e8654f6ea368e0acdfd92976b7c2103a1b26313f430c4b15bb1fdce663207659d8cac749a0e53d70eff01874496feff2103c96d495bfdd5ba4145e3e046fee45e84a8a48ad05bd8dbb395c011a32cf9f88053ae00000000"
81
},
82
"jsonrpc": "2.0"
83
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free