LIST_INSTRUCTIONS

List Instructions for a program

Overview

This method will return instruction data for a program. Running with only required body params will return all recent instructions and default to 10 objects. Feel free to make use of all non-required body params for more advanced queries. Refer to the Body "Schema" tab for help

LIST_INSTRUCTIONS

post
/query/solana

List instructions for a program

Header parameters
x-api-keystringRequired

the API key

Body
typestringRequired

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

Example: LIST_INSTRUCTIONS
Responses
200

Successful Response

application/json
post
/query/solana
200

Successful Response

Example - Basic

Program - Cypher Protocol

Description - Return recent instructions

Javascript

cURL

Example - Advanced

Program - Cypher Protocol

Description - Return up to 10 depositFunds instructions within a 24 hr period. Do not include failed transactions, return all fields in the response body

Javascript

cURL

Last updated