get https://api.solana.fm/v0/transfers/
Parameters
hash- the transaction hash to query for
Results
Valid Response
<object>- a JSON object containing the following fields:
transactionHash:<String>, the transaction hashdata:[<object>], an array of transfer movementsinstructionIndex:<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": "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)
