POST
/
api
/
v1
/
developer
/
solana
/
raw
/
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[]

The body is of type TransactionBasedRequest · object[].

Response

200
application/json

Successful Response

The response is of type Instruction · object[].