v11

latestOpenAPI 3.1.0AGPL-3.0-onlyraw.githubusercontent.com2026-08-01307390.9 KB
Transactions

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.

get/api/v2/tx/{txid}

Path parameters

txidstring required

Transaction id/hash.

Query parameters

spendingboolean

Include spending transaction metadata for UTXO outputs when available.

Response

Normalized transaction.

txidstring required
versioninteger
lockTimeinteger
blockHashstring
blockHeightinteger required

-1 for unconfirmed transactions.

confirmationsinteger required
confirmationETABlocksinteger
confirmationETASecondsinteger
blockTimeinteger required
sizeinteger
vsizeinteger
valuestring

Integer amount in the lowest chain denomination, encoded as a string.

valueInstring

Integer amount in the lowest chain denomination, encoded as a string.

feesstring

Integer amount in the lowest chain denomination, encoded as a string.

hexstring
rbfboolean
{"stackTrail":"components:schemas:Tx:properties:coinSpecificData","oasType":"schema","type":"unknown","description":"Raw blockchain-specific transaction data."}
addressAliasesAddressAliases

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"
      }
    ]
  }
}