GET_INSTRUCTION

Get instruction from a specific parent transaction

Overview

This method will return data relative to a specific instruction within a parent transaction. Running with only required body params will return all fields in the response body. Feel free to make use of all non-required body params for more advanced queries. Refer to the Body "Schema" tab for help.

GET_INSTRUCTION

post
/query/solana

Get specific instruction for a tx

Header parameters
x-api-keystringRequired

the API key

Body
typestringRequired

should be set to 'GET_INSTRUCTION' This is the type of query you want to perform.

Example: GET_INSTRUCTION
Responses
200

Successful Response

application/json; charset=utf-8
post
/query/solana
200

Successful Response

Example

Program - Cypher Protocol

Description - get the instruction at the 2nd index of parent tx hash: LqNe...EdNY

Javascript

cURL

Last updated