post https://api.solana.fm/v0/transfers
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 hashdata:[\<object>], an array of data object containing each transfer movementinstructionIndex:<integer>, the parent instruction index of this movementinnerInstructionIndex:<integer>, the inner instruction index of this movement, will be -1 if this movement is recorded in the parent instructionaction:<String>, the transfers action identifiedstatus:<String>, the status of the transfersource:<String>, the source of the movementsourceAssociation:<String | null>, the source association account hashdestination:<String | null>, the destination of the movementdestinationAssociation:<String | null>, the destination association account hashtoken:<String>, the token hash of the token being transferredamount:<integer>, the amount being transferredtimestamp:<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 codemessage:<String>, An error message to indicate which part of the query went wrongstatus:<String>, The response status following the error code- 400 = Bad Request (client side)
- 500 = Internal Server Error (server side)
