This method will return instruction data within an associated transaction. Running with only required body params will return all relevant instructions. Feel free to make use of all non-required body params for more advanced queries. Refer to the Body "Schema" tab for help.
GET_INSTRUCTIONS_IN_TRANSACTION
post
/query/solana
Get instructions in an associated transaction
Header parameters
x-api-keystringRequired
the API key
Body
typestringRequired
should be set to 'GET_INSTRUCTIONS_IN_TRANSACTION' This is the type of query you want to perform.
Example: GET_INSTRUCTIONS_IN_TRANSACTION
Responses
200
Successful Response
application/json; charset=utf-8
post
/query/solana
200
Successful Response
Example - Basic
Program - Cypher Protocol
Description - Get all instructions in tx hash: 2FYr...sRe9
Javascript
cURL
Example - Advanced
Program - Cypher Protocol
Description - Get all instructions for tx hash: 2FYr...sRe9, returning only the specified fields in the response body. Return up to 20 results if they exist and do not include failed instructions.