Multiple Transaction Transfers

Retrieve a list of transfers for a given list of transaction hashes.

🚧

Maximum number of transactionHashes you can query for is 50 per batch

Parameters

  • transactionHashes- a list of transaction hashes to query for (min: 1, max: 50)
  • hydration- a hydration object that contains the following field:
    • accountHash- a boolean field to indicate whether to include the account info in the response or not

Results

Valid Response

[<object>]- a list of JSON object containing the following fields each:

  • transactionHash:<String>, the transaction hash
  • data:[<object>], an array of data object containing each transfer movement
    • instructionIndex: \, the parent instruction index of this movement
    • innerInstructionIndex:<integer>, the inner instruction index of this movement, will be -1 if this movement is recorded in the parent instruction
    • action:<String>, the transfers action identified
    • status:<String>, the status of the transfer
    • source:<String>, the source of the movement
    • sourceAssociation:<String | null>, the source association account hash
    • destination:<String | null>, the destination of the movement
    • destinationAssociation:<String | null>, the destination association account hash
    • token:<String>, the token hash of the token being transferred
    • amount:<integer>, the amount being transferred
    • timestamp:<integer>, the timestamp of this movement

Example of a valid response:

{
  "status": "success",
  "message": "Retrieved Transactions Info",
  "result": [
    {
      "transactionHash": "4wGMriaRA55F1opEhJW2is34aDQdJHE13vJCbqP6WzrnzFwThnvZYvRZ2AKc2Meh5JToETz3eCCeuavepz6iTPZx",
      "data": [
        {
          "instructionIndex": -1,
          "innerInstructionIndex": -1,
          "action": "pay_tx_fees",
          "status": "Successful",
          "source": "4cKNZSta5KhUGwVVWgyr1uhnzioNDdV1bNkhmfDbtVPJ",
          "sourceAssociation": null,
          "destination": null,
          "destinationAssociation": null,
          "token": "",
          "amount": 6600,
          "timestamp": 1685094373
        }
      ]
    },
    {
      "transactionHash": "FUCoNwzCfPugjBwR4Q2uzDMZJdA3E5GAqDB1HGgfi3cTPyqBk11HniqQCGSCin3oBGQLFwcQ3fEHdsEJbgaZZ5p",
      "data": [
        {
          "instructionIndex": -1,
          "innerInstructionIndex": -1,
          "action": "pay_tx_fees",
          "status": "Successful",
          "source": "4cKNZSta5KhUGwVVWgyr1uhnzioNDdV1bNkhmfDbtVPJ",
          "sourceAssociation": null,
          "destination": null,
          "destinationAssociation": null,
          "token": "",
          "amount": 6600,
          "timestamp": 1685094468
        }
      ]
    }
  ]
}

Invalid Response

<object> - a JSON object containing the following fields if the requested account doesn't exist

  • code:<integer>, The error code
  • message:<String>, An error message to indicate which part of the query went wrong
  • status:<String>, The response status following the error code
    • 400 = Bad Request (client side)
    • 500 = Internal Server Error (server side)
Language
Click Try It! to start a request and see the response here!