---
title: "Specific transaction in the mempool"
method: GET
path: "/mempool/{hash}"
tags: ["Cardano » Mempool"]
---

# Specific transaction in the mempool

`GET /mempool/{hash}`

Return content of the requested transaction.

<p>
  <span class="hosted">Hosted</span> Endpoint only available for hosted variant.
</p>

## Path parameters

- `hash` string, 64-character case-sensitive hexadecimal string., required

## Response `200`

Return the contents of the transaction.

- MempoolTxContent
  - `tx` object, required
    - `hash` string, required — Transaction hash
    - `output_amount` object[], required
      - `unit` string, Lovelace or concatenation of asset policy_id and hex-encoded asset_name, required — The unit of the value
      - `quantity` string, required — The quantity of the unit
    - `fees` string, required — Fees of the transaction in Lovelaces
    - `deposit` string, required — Deposit within the transaction in Lovelaces
    - `size` integer, required — Size of the transaction in Bytes
    - `invalid_before` string, nullable, required — Left (included) endpoint of the timelock validity intervals
    - `invalid_hereafter` string, nullable, required — Right (excluded) endpoint of the timelock validity intervals
    - `utxo_count` integer, required — Count of UTXOs within the transaction
    - `withdrawal_count` integer, required — Count of the withdrawals within the transaction
    - `mir_cert_count` integer, required — Count of the MIR certificates within the transaction
    - `delegation_count` integer, required — Count of the delegations within the transaction
    - `stake_cert_count` integer, required — Count of the stake keys (de)registration within the transaction
    - `pool_update_count` integer, required — Count of the stake pool registration and update certificates within the transaction
    - `pool_retire_count` integer, required — Count of the stake pool retirement certificates within the transaction
    - `asset_mint_or_burn_count` integer, required — Count of asset mints and burns within the transaction
    - `redeemer_count` integer, required — Count of redeemers within the transaction
    - `valid_contract` boolean, required — True if contract script passed validation
  - `inputs` object[], required
    - `address` string — Input address
    - `tx_hash` string, required — Hash of the UTXO transaction
    - `output_index` integer, required — UTXO index in the transaction
    - `collateral` boolean, required — Whether the input is a collateral consumed on script validation failure
    - `reference` boolean — Whether the input is a reference transaction input
  - `outputs` object[], required
    - `address` string, required — Output address
    - `amount` object[], required
      - `unit` string, Lovelace or concatenation of asset policy_id and hex-encoded asset_name, required — The unit of the value
      - `quantity` string, required — The quantity of the unit
    - `output_index` integer, required — UTXO index in the transaction
    - `data_hash` string, nullable, required — The hash of the transaction output datum
    - `inline_datum` string, nullable, required — CBOR encoded inline datum
    - `collateral` boolean, required — Whether the output is a collateral output
    - `reference_script_hash` string, nullable, required — The hash of the reference script of the output
  - `redeemers` object[]
    - `tx_index` integer, required — Index of the redeemer within the transaction
    - `purpose` 'spend' | 'mint' | 'cert' | 'reward', required — Validation purpose
    - `unit_mem` string, required — The budget in Memory to run a script
    - `unit_steps` string, required — The budget in CPU steps to run a script

## Other responses

- `400` — Bad request
- `403` — Authentication secret is missing or invalid
- `404` — Component not found
- `418` — IP has been auto-banned for extensive sending of requests after usage limit has been reached
- `429` — Usage limit reached
- `500` — Internal Server Error

---

[API](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation.md) · [All operations](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txpipe/blockfrost-io-api-documentation/revisions/4a2f67b16876/schema)
