Skip to main content

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

Returns the transaction object for a given transaction hash via the Blockbook REST API.

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

Path Parameters

txid
string
REQUIRED

The transaction hash to look up.

Returns

txid
string

Transaction ID

version
integer

Transaction version

vin
array

Array of transaction inputs

n
integer

Input index

sequence
integer

Sequence number

isAddress
boolean

Whether the input is from an address

coinbase
string

Coinbase data (for coinbase transactions)

vout
array

Array of transaction outputs

value
string

Output value in satoshis

n
integer

Output index

spent
boolean

Whether the output has been spent

hex
string

Output script hex

addresses
array

Output addresses

isAddress
boolean

Whether the output is to an address

blockHash
string

Block hash containing this transaction

blockHeight
integer

Block height of the transaction

confirmations
integer

Number of confirmations

blockTime
integer

Unix timestamp of the block

size
integer

Transaction size in bytes

vsize
integer

Virtual transaction size

value
string

Total output value in satoshis

valueIn
string

Total input value in satoshis

fees
string

Transaction fee in satoshis

hex
string

Raw transaction hex

Request
Response
1
{
2
"txid": "fffbf4cf21ec5646a5510f40776ea6671ab30648d94108bfd0777d1eb4d58394",
3
"version": 1,
4
"vin": [
5
{
6
"sequence": 4294967295,
7
"n": 0,
8
"isAddress": false,
9
"coinbase": "03a025261b4d696e656420627920416e74506f6f6c363331d4002903bd79e89ffabe6d6d60e1452608cd4c1b4845fa07c7e560c48a08e31897a917aafb796302edcc8ebe01000000000000000000dbc957000000"
10
}
11
],
12
"vout": [
13
{
14
"value": "1252997046",
15
"n": 0,
16
"spent": true,
17
"hex": "76a914bc14b37375146785074671bbaf5804133e5827e588ac",
18
"addresses": [
19
"LcNS6c8RddAMjewDrUAAi8BzecKoosnkN3"
20
],
21
"isAddress": true
22
},
23
{
24
"value": "0",
25
"n": 1,
26
"hex": "6a24aa21a9ed412733e50ef8c0bfa8397a1203aab1f1d6bcebe9c1b0582ebed68810878ed514",
27
"addresses": [
28
"OP_RETURN aa21a9ed412733e50ef8c0bfa8397a1203aab1f1d6bcebe9c1b0582ebed68810878ed514"
29
],
30
"isAddress": false
31
}
32
],
33
"blockHash": "4b5b45ab5b7bde1a746f2bd5003285d6e901b0b2f69dcfd3d3958d8226c8bf8d",
34
"blockHeight": 2500000,
35
"confirmations": 621804,
36
"blockTime": 1687996885,
37
"size": 252,
38
"vsize": 225,
39
"value": "1252997046",
40
"valueIn": "0",
41
"fees": "0",
42
"hex": "010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff5403a025261b4d696e656420627920416e74506f6f6c363331d4002903bd79e89ffabe6d6d60e1452608cd4c1b4845fa07c7e560c48a08e31897a917aafb796302edcc8ebe01000000000000000000dbc957000000ffffffff02b637af4a000000001976a914bc14b37375146785074671bbaf5804133e5827e588ac0000000000000000266a24aa21a9ed412733e50ef8c0bfa8397a1203aab1f1d6bcebe9c1b0582ebed68810878ed5140120000000000000000000000000000000000000000000000000000000000000000000000000"
43
}
1
{
2
"txid": "fffbf4cf21ec5646a5510f40776ea6671ab30648d94108bfd0777d1eb4d58394",
3
"version": 1,
4
"vin": [
5
{
6
"sequence": 4294967295,
7
"n": 0,
8
"isAddress": false,
9
"coinbase": "03a025261b4d696e656420627920416e74506f6f6c363331d4002903bd79e89ffabe6d6d60e1452608cd4c1b4845fa07c7e560c48a08e31897a917aafb796302edcc8ebe01000000000000000000dbc957000000"
10
}
11
],
12
"vout": [
13
{
14
"value": "1252997046",
15
"n": 0,
16
"spent": true,
17
"hex": "76a914bc14b37375146785074671bbaf5804133e5827e588ac",
18
"addresses": [
19
"LcNS6c8RddAMjewDrUAAi8BzecKoosnkN3"
20
],
21
"isAddress": true
22
},
23
{
24
"value": "0",
25
"n": 1,
26
"hex": "6a24aa21a9ed412733e50ef8c0bfa8397a1203aab1f1d6bcebe9c1b0582ebed68810878ed514",
27
"addresses": [
28
"OP_RETURN aa21a9ed412733e50ef8c0bfa8397a1203aab1f1d6bcebe9c1b0582ebed68810878ed514"
29
],
30
"isAddress": false
31
}
32
],
33
"blockHash": "4b5b45ab5b7bde1a746f2bd5003285d6e901b0b2f69dcfd3d3958d8226c8bf8d",
34
"blockHeight": 2500000,
35
"confirmations": 621804,
36
"blockTime": 1687996885,
37
"size": 252,
38
"vsize": 225,
39
"value": "1252997046",
40
"valueIn": "0",
41
"fees": "0",
42
"hex": "010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff5403a025261b4d696e656420627920416e74506f6f6c363331d4002903bd79e89ffabe6d6d60e1452608cd4c1b4845fa07c7e560c48a08e31897a917aafb796302edcc8ebe01000000000000000000dbc957000000ffffffff02b637af4a000000001976a914bc14b37375146785074671bbaf5804133e5827e588ac0000000000000000266a24aa21a9ed412733e50ef8c0bfa8397a1203aab1f1d6bcebe9c1b0582ebed68810878ed5140120000000000000000000000000000000000000000000000000000000000000000000000000"
43
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free