Instructions
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).
Table Columns
Column Name | Description | Example |
---|---|---|
block_slot | The | 159292973 |
block_ height | The | 123292963 |
block_timestamp | The | |
block_hash | The | 5X6zcnNw6HSAn4X8GaMnzBp8JnWPcNHoAThFwFN1oeph |
txn_id | Unique base58 identifier of the parent tx. | 5Bc8KuxsmRCiLkBJhL7wYuTsawUiux2enj4xYr7FsPG7eUxVoCPKwqj9LcCAvTztA2drUJghUBTqo8C62qpRMM4H |
txn_index | The index of the parent tx within the block. Used for strict ordering of transactions. | 5 |
instruction_index | The index of the parent instruction within the arr of instructions of the parent tx. | 2 |
inner_instruction_index | The index of the inner instruction within the parent instruction | 1 |
program_id | base58 address of the program being invoked by this inner instruction (note: not the instruction) | M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K |
parsed | JSON with info about the inner instruction | parsed json of the instruction, if auto-decoded by the rpc nodes. |
program_name | Accounts needed for the tx | [key1, key2, key3, key4, …] |
accounts | A recent block hash in the past, used as a nonce | 47S8ZnTiR1my1HqEfdWe9f9XqThW6svjqUwXF5N2ZBBk |
data | data bytes of the inner instruction | 1Bjo12e9T9Lyb2dio2hHguvdQo1BXLR4pKsvQ9D |