Skip to main content

GET /api/v2/tx-specific/{txid} - Blockbook REST API

Returns raw transaction data in the backend's native format via the Blockbook REST API.

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

Path Parameters

txid_specific
string
REQUIRED

The transaction hash to look up.

Returns

txid
string

Transaction ID

hash
string

Transaction hash (differs from txid for SegWit transactions)

version
integer

Transaction version

size
integer

Transaction size in bytes

vsize
integer

Virtual transaction size

weight
integer

Transaction weight units

locktime
integer

Transaction locktime

vin
array

Array of transaction inputs

coinbase
string

Coinbase data (for coinbase transactions)

txid
string

Previous transaction ID (for non-coinbase)

vout
integer

Previous output index (for non-coinbase)

scriptSig
object

Input script signature

asm
string

Script in assembly format

hex
string

Script in hex format

txinwitness
array

Segregated Witness data

sequence
integer

Sequence number

vout
array

Array of transaction outputs

value
number

Output value in BTC

n
integer

Output index

scriptPubKey
object

Output script

asm
string

Script in assembly format

desc
string

Output descriptor

hex
string

Script in hex format

address
string

Output address

type
string

Script type (e.g., witness_v0_keyhash, nulldata)

hex
string

Raw transaction hex

blockhash
string

Block hash containing this transaction

confirmations
integer

Number of confirmations

time
integer

Transaction time as Unix timestamp

blocktime
integer

Block time as Unix timestamp

Request
Response
1
{
2
"txid": "7e3fda5b4dc7e8f39eb7ea73257398a42cd0ef9821fc8bf550e6b6a5fec6cfe2",
3
"hash": "2c0142e7e6a84b315c19c2c7be6098654e8ccada52f3cf88fa6211c8a3b7e114",
4
"version": 1,
5
"size": 262,
6
"vsize": 235,
7
"weight": 940,
8
"locktime": 843111278,
9
"vin": [
10
{
11
"coinbase": "03f4760c04dace54652f4d41524120506f6f6c2ffabe6d6d621175c7c1371ebd43cefcefc3ab0453b7f952101cb5575976420d0104e9f0dd010000000000000038c0a19ff8fe2ab8e720838f0bd64112131be21206007a000000ffffffff",
12
"txinwitness": [
13
"0000000000000000000000000000000000000000000000000000000000000000"
14
],
15
"sequence": 4294967295
16
}
17
],
18
"vout": [
19
{
20
"value": 7.16831584,
21
"n": 0,
22
"scriptPubKey": {
23
"asm": "OP_DUP OP_HASH160 2fc701e2049ee4957b07134b6c1d771dd5a96b21 OP_EQUALVERIFY OP_CHECKSIG",
24
"desc": "addr(15MdAHnkxt9TMC2Rj595hsg8Hnv693pPBB)#j6z3mx70",
25
"hex": "76a9142fc701e2049ee4957b07134b6c1d771dd5a96b2188ac",
26
"address": "15MdAHnkxt9TMC2Rj595hsg8Hnv693pPBB",
27
"type": "pubkeyhash"
28
}
29
},
30
{
31
"value": 0,
32
"n": 1,
33
"scriptPubKey": {
34
"asm": "OP_RETURN aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7",
35
"desc": "raw(6a24aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7)#keqmpx9r",
36
"hex": "6a24aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7",
37
"type": "nulldata"
38
}
39
}
40
],
41
"hex": "010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff5e03f4760c04dace54652f4d41524120506f6f6c2ffabe6d6d621175c7c1371ebd43cefcefc3ab0453b7f952101cb5575976420d0104e9f0dd010000000000000038c0a19ff8fe2ab8e720838f0bd64112131be21206007a000000ffffffffffffffff0260fbb92a000000001976a9142fc701e2049ee4957b07134b6c1d771dd5a96b2188ac0000000000000000266a24aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7012000000000000000000000000000000000000000000000000000000000000000006edb4032",
42
"blockhash": "0000000000000000000332e287259a689c0dfcd7ec818fd272db7d4c595bf057",
43
"confirmations": 136012,
44
"time": 1700056791,
45
"blocktime": 1700056791
46
}
1
{
2
"txid": "7e3fda5b4dc7e8f39eb7ea73257398a42cd0ef9821fc8bf550e6b6a5fec6cfe2",
3
"hash": "2c0142e7e6a84b315c19c2c7be6098654e8ccada52f3cf88fa6211c8a3b7e114",
4
"version": 1,
5
"size": 262,
6
"vsize": 235,
7
"weight": 940,
8
"locktime": 843111278,
9
"vin": [
10
{
11
"coinbase": "03f4760c04dace54652f4d41524120506f6f6c2ffabe6d6d621175c7c1371ebd43cefcefc3ab0453b7f952101cb5575976420d0104e9f0dd010000000000000038c0a19ff8fe2ab8e720838f0bd64112131be21206007a000000ffffffff",
12
"txinwitness": [
13
"0000000000000000000000000000000000000000000000000000000000000000"
14
],
15
"sequence": 4294967295
16
}
17
],
18
"vout": [
19
{
20
"value": 7.16831584,
21
"n": 0,
22
"scriptPubKey": {
23
"asm": "OP_DUP OP_HASH160 2fc701e2049ee4957b07134b6c1d771dd5a96b21 OP_EQUALVERIFY OP_CHECKSIG",
24
"desc": "addr(15MdAHnkxt9TMC2Rj595hsg8Hnv693pPBB)#j6z3mx70",
25
"hex": "76a9142fc701e2049ee4957b07134b6c1d771dd5a96b2188ac",
26
"address": "15MdAHnkxt9TMC2Rj595hsg8Hnv693pPBB",
27
"type": "pubkeyhash"
28
}
29
},
30
{
31
"value": 0,
32
"n": 1,
33
"scriptPubKey": {
34
"asm": "OP_RETURN aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7",
35
"desc": "raw(6a24aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7)#keqmpx9r",
36
"hex": "6a24aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7",
37
"type": "nulldata"
38
}
39
}
40
],
41
"hex": "010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff5e03f4760c04dace54652f4d41524120506f6f6c2ffabe6d6d621175c7c1371ebd43cefcefc3ab0453b7f952101cb5575976420d0104e9f0dd010000000000000038c0a19ff8fe2ab8e720838f0bd64112131be21206007a000000ffffffffffffffff0260fbb92a000000001976a9142fc701e2049ee4957b07134b6c1d771dd5a96b2188ac0000000000000000266a24aa21a9ed9c4fcae67716e472f0e3d8a828061a46116ff439554268c0d48f49fa528f0ef7012000000000000000000000000000000000000000000000000000000000000000006edb4032",
42
"blockhash": "0000000000000000000332e287259a689c0dfcd7ec818fd272db7d4c595bf057",
43
"confirmations": 136012,
44
"time": 1700056791,
45
"blocktime": 1700056791
46
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free