transactions

Get transaction by id

Returns transaction information based on the given transaction id

get/api/v1/transactions/{transactionId}

Path parameters

transactionIdstring required

Transaction id

Query parameters

nonceinteger

Filter the query result by the nonce of the transaction. A zero nonce represents user submitted transactions while a non-zero nonce is generated by main nodes. The filter honors the last value. If not specified, all transactions with specified payer account ID and valid start timestamp match. If multiple values are provided the last value will be the only value used.

scheduledboolean

Filter transactions by the scheduled flag. If true, return information for the scheduled transaction. If false, return information for the non-scheduled transaction. If not present, return information for all transactions matching transactionId. If multiple values are provided the last value will be the only value used.

Response

OK

Example response

{
  "transactions": [
    {
      "assessed_custom_fees": [
        {
          "amount": 100,
          "collector_account_id": "0.0.10",
          "effective_payer_account_ids": [
            "0.0.8",
            "0.0.72"
          ],
          "token_id": "0.0.90001"
        }
      ],
      "bytes": null,
      "charged_tx_fee": 7,
      "consensus_timestamp": "1234567890.000000007",
      "entity_id": "0.0.2281979",
      "high_volume": false,
      "high_volume_pricing_multiplier": 1,
      "max_fee": 33,
      "memo_base64": null,
      "name": "CRYPTOTRANSFER",
      "nft_transfers": [
        {
          "is_approval": true,
          "receiver_account_id": "0.0.121",
          "sender_account_id": "0.0.122",
          "serial_number": 1,
          "token_id": "0.0.123"
        },
        {
          "is_approval": true,
          "receiver_account_id": "0.0.321",
          "sender_account_id": "0.0.422",
          "serial_number": 2,
          "token_id": "0.0.123"
        }
      ],
      "node": "0.0.3",
      "nonce": 0,
      "parent_consensus_timestamp": "1234567890.000000007",
      "result": "SUCCESS",
      "scheduled": false,
      "staking_reward_transfers": [
        {
          "account": 3,
          "amount": 200
        },
        {
          "account": 9,
          "amount": 300
        }
      ],
      "transaction_hash": "vigzKe2J7fv4ktHBbNTSzQmKq7Lzdq1/lJMmHT+a2KgvdhAuadlvS4eKeqKjIRmW",
      "transaction_id": "0.0.8-1234567890-000000006",
      "token_transfers": [
        {
          "token_id": "0.0.90000",
          "account": "0.0.9",
          "amount": 1200,
          "is_approval": true
        },
        {
          "token_id": "0.0.90000",
          "account": "0.0.8",
          "amount": -1200,
          "is_approval": true
        }
      ],
      "transfers": [
        {
          "account": "0.0.3",
          "amount": 2,
          "is_approval": true
        },
        {
          "account": "0.0.8",
          "amount": -3,
          "is_approval": true
        },
        {
          "account": "0.0.98",
          "amount": 1,
          "is_approval": true
        },
        {
          "account": "0.0.800",
          "amount": 200,
          "is_approval": false
        },
        {
          "account": "0.0.800",
          "amount": 300,
          "is_approval": false
        }
      ],
      "valid_duration_seconds": 11,
      "valid_start_timestamp": "1234567890.000000006"
    }
  ]
}

Changes

Changed in 9 of the 53 revisions of this API.221919

    • added the new CRSPUBLICATION enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new HINTSKEYPUBLICATION enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new HINTSPARTIALSIGNATURE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new HINTSPREPROCESSINGVOTE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new HISTORYPROOFKEYPUBLICATION enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new HISTORYPROOFSIGNATURE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new HISTORYPROOFVOTE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new MIGRATIONROOTHASHVOTE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new STATESIGNATURETRANSACTION enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the optional property transactions/items/allOf[Transaction]/high_volume_pricing_multiplier to the response with the 200 status

      response-optional-property-added

    • added the new REGISTEREDNODECREATE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new REGISTEREDNODEDELETE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new REGISTEREDNODEUPDATE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new LEDGERIDPUBLICATION enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the optional property transactions/items/allOf[Transaction]/high_volume to the response with the 200 status

      response-optional-property-added

  • v1e44cfc649d5f11See the full diff
    • added the new HOOKSTORE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • removed the LAMBDASSTORE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • added the new LAMBDASSTORE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • removed the NODE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the UNKNOWN enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

  • v1db389f03b09722414See the full diff
    • the response property _status/messages/items/data became nullable for the status 400

      response-property-became-nullable

    • the response property _status/messages/items/data became nullable for the status 404

      response-property-became-nullable

    • the response property _status/messages/items/detail became nullable for the status 400

      response-property-became-nullable

    • the response property _status/messages/items/detail became nullable for the status 404

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/batch_key became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/bytes became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/entity_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/max_custom_fees/items/account_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/max_custom_fees/items/denominating_token_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/memo_base64 became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/nft_transfers/items/receiver_account_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/nft_transfers/items/sender_account_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/nft_transfers/items/token_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/node became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/parent_consensus_timestamp became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/staking_reward_transfers/items/account became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/token_transfers/items/account became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/token_transfers/items/token_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[Transaction]/transfers/items/account became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[subschema #2]/assessed_custom_fees/items/collector_account_id became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[subschema #2]/assessed_custom_fees/items/effective_payer_account_ids/items/ became nullable for the status 200

      response-property-became-nullable

    • the response property transactions/items/allOf[subschema #2]/assessed_custom_fees/items/token_id became nullable for the status 200

      response-property-became-nullable

    • removed the optional property transactions/items/allOf[Transaction]/high_volume from the response with the 200 status

      response-optional-property-removed

    • removed the optional property transactions/items/allOf[Transaction]/high_volume_pricing_multiplier from the response with the 200 status

      response-optional-property-removed

    • added the new NODE enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • added the new UNKNOWN enum value to the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-added

    • removed the CRSPUBLICATION enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the HINTSKEYPUBLICATION enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the HINTSPARTIALSIGNATURE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the HINTSPREPROCESSINGVOTE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the HISTORYPROOFKEYPUBLICATION enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the HISTORYPROOFSIGNATURE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the HISTORYPROOFVOTE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the HOOKSTORE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the LEDGERIDPUBLICATION enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the MIGRATIONROOTHASHVOTE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the REGISTEREDNODECREATE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the REGISTEREDNODEDELETE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the REGISTEREDNODEUPDATE enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    • removed the STATESIGNATURETRANSACTION enum value from the transactions/items/allOf[Transaction]/name response property for the response status 200

      response-property-enum-value-removed

    This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog