POST
/
api
/
v1
/
developer
/
solana
/
raw
/
instructions
Get Instructions
curl --request POST \
  --url https://api.allium.so/api/v1/developer/solana/raw/instructions \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '[
  {
    "txn_id": "<string>",
    "block_timestamp": "2023-11-07T05:31:56Z"
  }
]'
[
  {
    "txn_id": "<string>",
    "txn_index": 123,
    "instruction_index": 123,
    "program_id": "<string>",
    "parsed": "<string>",
    "program_name": "<string>",
    "accounts": [
      "<string>"
    ],
    "data": "<string>",
    "data_hex": "<string>",
    "is_voting": true,
    "parent_tx_signer": "<string>",
    "parent_tx_success": true,
    "parsed_type": "<string>",
    "inner_instruction_count": 123
  }
]
An instruction is the smallest execution logic on Solana. Instructions are basically a call to update the global Solana state. Instructions invoke programs that make calls to the Solana runtime to update the state (for example, calling the token program to transfer tokens from your account to another account).

Authorizations

X-API-KEY
string
header
required

Body

application/json · TransactionBasedRequest · object[]
txn_id
string
required
block_timestamp
string<date-time>
required

Response

Successful Response

txn_id
string
required
txn_index
integer
required
instruction_index
integer
required
program_id
string
required
parsed
string | null
required
program_name
string | null
required
accounts
string[] | null
required
data
string | null
required
data_hex
string | null
required
is_voting
boolean
required
parent_tx_signer
string
required
parent_tx_success
boolean
required
parsed_type
string | null
required
inner_instruction_count
integer
required