v1

latestOpenAPI 3.0.0MIT2026-07-17124105392.5 KB
Cardano » Transactions

Specific transaction

Return content of the requested transaction.

get/txs/{hash}

Path parameters

hashstring 64-character case-sensitive hexadecimal string. required

Hash of the requested transaction

Response

Return the contents of the transaction.

hashstring required

Transaction hash

blockstring required

Block hash

block_heightinteger required

Block number

block_timeinteger required

Block creation time in UNIX time

slotinteger required

Slot number

indexinteger required

Transaction index within the block

feesstring required

Fees of the transaction in Lovelaces

depositstring required

Deposit within the transaction in Lovelaces

sizeinteger required

Size of the transaction in Bytes

invalid_beforestring nullable required

Left (included) endpoint of the timelock validity intervals

invalid_hereafterstring nullable required

Right (excluded) endpoint of the timelock validity intervals

utxo_countinteger required

Count of UTXOs within the transaction

withdrawal_countinteger required

Count of the withdrawals within the transaction

mir_cert_countinteger required

Count of the MIR certificates within the transaction

delegation_countinteger required

Count of the delegations within the transaction

stake_cert_countinteger required

Count of the stake keys (de)registration within the transaction

pool_update_countinteger required

Count of the stake pool registration and update certificates within the transaction

pool_retire_countinteger required

Count of the stake pool retirement certificates within the transaction

asset_mint_or_burn_countinteger required

Count of asset mints and burns within the transaction

redeemer_countinteger required

Count of redeemers within the transaction

valid_contractboolean required

True if contract script passed validation

treasury_donationstring required

Treasury donation in Lovelaces

Example response

{
  "hash": "1e043f100dce12d107f679685acd2fc0610e10f72a92d412794c9773d11d8477",
  "block": "356b7d7dbb696ccd12775c016941057a9dc70898d87a63fc752271bb46856940",
  "block_height": 123456,
  "block_time": 1635505891,
  "slot": 42000000,
  "index": 1,
  "output_amount": [
    {
      "unit": "lovelace",
      "quantity": "42000000"
    },
    {
      "unit": "b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e",
      "quantity": "12"
    }
  ],
  "fees": "182485",
  "deposit": "0",
  "size": 433,
  "invalid_hereafter": "13885913",
  "utxo_count": 4,
  "valid_contract": true,
  "treasury_donation": "0"
}