Skip to main content

Specific transaction in the mempool

GET /mempool/:hash

Return content of the requested transaction.

Hosted Endpoint only available for hosted variant.

Request

Path Parameters

    hash 64-character case-sensitive hexadecimal string. required

    Hash of the requested transaction

    Example: 6e5f825c42c1c6d6b77f2a14092f3b78c8f1b66db6f4cf8caec1555b6f967b3b
Responses

Return the contents of the transaction.


Schema
    tx objectrequired
    hash string required

    Transaction hash

    output_amount object[]required
  • Array [
  • unit 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
  • Array [
  • 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
  • Array [
  • address string required

    Output address

    amount object[]required
  • Array [
  • unit 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[]
  • Array [
  • tx_index integer required

    Index of the redeemer within the transaction

    purpose string required

    Possible values: [spend, mint, cert, reward]

    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

  • ]
Loading...