POST /transaction/output

Changed on

Get the outputs for given <tx hash, output index> pairs.

This endpoint will return both used AND unused outputs

Note: this endpoint only returns txs that are in a block. Use another tool to see mempool for txs not in a block

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /transaction/output
  • Auth
    none required

Request body

Example request

{
  "utxoPointers": [
    {
      "txHash": "011b86557367525891331b4bb985545120efc335b606d6a1c0d5a35fb330f421"
    }
  ]
}

Response

Example response

{
  "utxos": [
    {
      "utxo": {
        "txHash": "011b86557367525891331b4bb985545120efc335b606d6a1c0d5a35fb330f421",
        "payload": "825839019cb581f4337a6142e477af6e00fe41b1fc4a5944a575681b8499a3c0bd07ce733b5911eb657e7aff5d35f8b0682fe0380f7621af2bbcb2f71b0000000586321393"
      },
      "block": {
        "slot": 4924800,
        "epoch": 209,
        "height": 4512067,
        "hash": "cf8c63a909d91776e27f7d05457e823a9dba606a7ab499ac435e7904ee70d7c8",
        "era": 1
      }
    }
  ]
}

Changes

    • info

      the /////// response's property pattern [0-9a-fA-F]{64} was added for the status

    • breaking

      added the pattern [0-9a-fA-F]{64} to the request property //

    • breaking

      the // response's property type changed from object to no type for status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added subschema #2 to the // response property allOf list for the response status

    • info

      the /////// response's property pattern [0-9a-fA-F]{64} was added for the status

    • info

      the //// response's property pattern [0-9a-fA-F]* was added for the status