For the complete documentation index, see llms.txt. This page is also available as Markdown.
GET_INSTRUCTIONS_IN_TRANSACTION
Get instructions in an associated transaction
Overview
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
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.