Get a normalized transaction.
Returns normalized transaction data with the same general structure for all supported coins. Coin-specific fields that do not fit the common shape are omitted here; use getTransactionSpecific for backend-native JSON.
Bitcoin-like confirmed transactions include blockHash, confirmations, blockTime, size/vsize, value/valueIn, fees, and hex. Unconfirmed transactions can include confirmationETABlocks and confirmationETASeconds.
Ethereum-like transactions have one vin and one vout, tokenTransfers, ethereumSpecific execution data, and optional addressAliases. Parsed input data is included when the 4byte signature can be resolved.
For mined transactions, blockTime is the block timestamp. For mempool transactions, blockTime is when this Blockbook instance first learned about the transaction and can differ between instances.
Load estimate: Medium; grows with inputs, outputs, token transfers, address aliases, and spending=true extra lookups.
Path parameters
Transaction id/hash.
Query parameters
Include spending transaction metadata for UTXO outputs when available.
Response
Normalized transaction.
Example response
{
"vin": [
{
"value": "100000000"
}
],
"vout": [
{
"value": "100000000"
}
],
"value": "100000000",
"valueIn": "100000000",
"fees": "100000000",
"tokenTransfers": [
{
"value": "100000000",
"multiTokenValues": [
{
"id": "100000000",
"value": "100000000"
}
]
}
],
"ethereumSpecific": {
"gasPrice": "100000000",
"effectiveGasPrice": "100000000",
"maxPriorityFeePerGas": "100000000",
"maxFeePerGas": "100000000",
"baseFeePerGas": "100000000",
"l1GasPrice": "100000000",
"internalTransfers": [
{
"value": "100000000"
}
]
}
}