transactions

Get unconfirmed transaction from pool

get/transactions/unconfirmed/byTransactionId/{txId}

Response

Ergo transaction

idstring base16 required

Base16-encoded transaction id bytes

sizeinteger required

Size in bytes

Example response

{
  "id": "2ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117",
  "inputs": [
    {
      "boxId": "1ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117",
      "value": 147,
      "ergoTree": "0008cd0336100ef59ced80ba5f89c4178ebd57b6c1dd0f3d135ee1db9f62fc634d637041",
      "creationHeight": 9149,
      "assets": [
        {
          "tokenId": "4ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117",
          "amount": 1000
        }
      ],
      "additionalRegisters": {
        "R4": "100204a00b08cd0336100ef59ced80ba5f89c4178ebd57b6c1dd0f3d135ee1db9f62fc634d637041ea02d192a39a8cc7a70173007301"
      },
      "transactionId": "2ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117",
      "spendingProof": {
        "proofBytes": "4ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd1173ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd1173ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117",
        "extension": {
          "1": "a2aed72ff1b139f35d1ad2938cb44c9848a34d4dcfd6d8ab717ebde40a7304f2541cf628ffc8b5c496e6161eba3f169c6dd440704b1719e0"
        }
      }
    }
  ],
  "dataInputs": [
    {
      "boxId": "1ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117"
    }
  ],
  "outputs": [
    {
      "boxId": "1ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117",
      "value": 147,
      "ergoTree": "0008cd0336100ef59ced80ba5f89c4178ebd57b6c1dd0f3d135ee1db9f62fc634d637041",
      "creationHeight": 9149,
      "assets": [
        {
          "tokenId": "4ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117",
          "amount": 1000
        }
      ],
      "additionalRegisters": {
        "R4": "100204a00b08cd0336100ef59ced80ba5f89c4178ebd57b6c1dd0f3d135ee1db9f62fc634d637041ea02d192a39a8cc7a70173007301"
      },
      "transactionId": "2ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117"
    }
  ]
}

Changes

Changed in 2 of the 59 revisions of this API.20421

  • ce177636b3e41211See the full diff
    • the outputs/items/ response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • removed the required property blockId from the response with the 200 status

      response-required-property-removed

    • removed the required property globalIndex from the response with the 200 status

      response-required-property-removed

    • removed the required property inclusionHeight from the response with the 200 status

      response-required-property-removed

    • removed the required property index from the response with the 200 status

      response-required-property-removed

    • removed the required property inputs/items/allOf[subschema #2]/address from the response with the 200 status

      response-required-property-removed

    • removed the required property inputs/items/allOf[subschema #2]/globalIndex from the response with the 200 status

      response-required-property-removed

    • removed the required property inputs/items/allOf[subschema #2]/inclusionHeight from the response with the 200 status

      response-required-property-removed

    • removed the required property inputs/items/allOf[subschema #2]/spendingHeight from the response with the 200 status

      response-required-property-removed

    • removed the required property inputs/items/allOf[subschema #2]/spentTransactionId from the response with the 200 status

      response-required-property-removed

    • removed the required property numConfirmations from the response with the 200 status

      response-required-property-removed

    • removed the required property timestamp from the response with the 200 status

      response-required-property-removed

    • added the optional property outputs/items/assets to the response with the 200 status

      response-optional-property-added

    • added the optional property outputs/items/boxId to the response with the 200 status

      response-optional-property-added

    • added the optional property outputs/items/index to the response with the 200 status

      response-optional-property-added

    • added the optional property outputs/items/transactionId to the response with the 200 status

      response-optional-property-added

    • removed ErgoTransactionOutput subschema #2 from the outputs/items/ response property allOf list for the response status 200

      response-property-all-of-removed

    • the response property inputs/items/allOf[subschema #2]/spendingProof became required for the status 200

      response-property-became-required

    • added the required property inputs/items/allOf[subschema #2]/boxId to the response with the 200 status

      response-required-property-added

    • added the required property outputs/items/additionalRegisters to the response with the 200 status

      response-required-property-added

    • added the required property outputs/items/creationHeight to the response with the 200 status

      response-required-property-added

    • added the required property outputs/items/ergoTree to the response with the 200 status

      response-required-property-added

    • added the required property outputs/items/value to the response with the 200 status

      response-required-property-added

  • bfbb1772d0738410See the full diff
    • the inputs/items/ response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • the outputs/items/ response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • removed the required property inputs/items/boxId from the response with the 200 status

      response-required-property-removed

    • removed the required property inputs/items/spendingProof from the response with the 200 status

      response-required-property-removed

    • removed the required property outputs/items/additionalRegisters from the response with the 200 status

      response-required-property-removed

    • removed the required property outputs/items/creationHeight from the response with the 200 status

      response-required-property-removed

    • removed the required property outputs/items/ergoTree from the response with the 200 status

      response-required-property-removed

    • removed the required property outputs/items/value from the response with the 200 status

      response-required-property-removed

    • removed the optional property outputs/items/assets from the response with the 200 status

      response-optional-property-removed

    • removed the optional property outputs/items/boxId from the response with the 200 status

      response-optional-property-removed

    • removed the optional property outputs/items/index from the response with the 200 status

      response-optional-property-removed

    • removed the optional property outputs/items/transactionId from the response with the 200 status

      response-optional-property-removed

    • added ErgoTransactionOutput subschema #2 to the inputs/items/ response property allOf list for the response status 200

      response-property-all-of-added

    • added ErgoTransactionOutput subschema #2 to the outputs/items/ response property allOf list for the response status 200

      response-property-all-of-added

    • the response property id became required for the status 200

      response-property-became-required

    • the response property size became required for the status 200

      response-property-became-required

    • added the required property blockId to the response with the 200 status

      response-required-property-added

    • added the required property globalIndex to the response with the 200 status

      response-required-property-added

    • added the required property inclusionHeight to the response with the 200 status

      response-required-property-added

    • added the required property index to the response with the 200 status

      response-required-property-added

    • added the required property numConfirmations to the response with the 200 status

      response-required-property-added

    • added the required property timestamp to the response with the 200 status

      response-required-property-added