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 | Type | Example | Column Name |
---|
block_slot | The slot of the block containing the parent tx. | number | 159292973 | |
block_ height | The height of the block containing the parent tx. | number | 123292963 | |
block_timestamp | The timestamp of the block containing the parent tx. | timestamp_ntz | | |
block_hash | The hash of the block containing the parent tx. | varchar | 5X6zcnNw6HSAn4X8GaMnzBp8JnWPcNHoAThFwFN1oeph | |
txn_id | Unique base58 identifier of the parent tx. | varchar | 5Bc8KuxsmRCiLkBJhL7wYuTsawUiux2enj4xYr7FsPG7eUxVoCPKwqj9LcCAvTztA2drUJghUBTqo8C62qpRMM4H | |
txn_index | The index of the parent tx within the block. Used for strict ordering of transactions. | number | 5 | |
instruction_index | The index of the instruction within the arr of instructions of the parent tx. | number | 2 | |
program_id | base58 address of the program being invoked by the instruction | varchar | M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K | |
parsed | JSON with info about the transaction | varchar | parsed json of the instruction, if auto-decoded by the rpc nodes. | |
program_name | program name if available | varchar | spl-token | |
accounts | A recent block hash in the past, used as a nonce | variant | 47S8ZnTiR1my1HqEfdWe9f9XqThW6svjqUwXF5N2ZBBk | |
data | data bytes of the instruction | varchar | 1Bjo12e9T9Lyb2dio2hHguvdQo1BXLR4pKsvQ9D | Table ColumnsColumn Name | Description | Sample Value | Column Name |
---|
block_timestamp | The time when the block was included on the blockchain. | 2022-09-15 13:51:47 | | block_number | The length of the chain, in blocks. | 15539508 | | block_hash | Unique identifier for that block. | 0x25680259dfb40b4ee724ae22fda01a34e6d598c5f2fc25b6d871cb56c488de70 | | parent_hash | Unique identifier of the block preceding this block, also known as the parent block. | 0x46707e33e9dca09ec95f0fc8b996e3bbce3ad3e02ea270939207bab1f809066f | Table ColumnsColumn Name | Description | Sample Value | Column Name |
---|
block_timestamp | The time when the block was included on the blockchain. | 2022-09-15 13:51:47 | | block_number | The length of the chain, in blocks. | 15539508 | | block_hash | Unique identifier for that block. | 0x25680259dfb40b4ee724ae22fda01a34e6d598c5f2fc25b6d871cb56c488de70 | | parent_hash | Unique identifier of the block preceding this block, also known as the parent block. | 0x46707e33e9dca09ec95f0fc8b996e3bbce3ad3e02ea270939207bab1f809066f | | gas_limit | Gas limit of the current block. | 30000000 | | gas_used | Total gas used in the block. | 6999860 | | miner | Proof of Stake Address receiving fees from transactions in this block
Proof of Work Address of the miner that mined this block. | 0x388c818ca8b9251b393131c08a736a67ccb19297 | | transaction_count | Number of transactions included in this block. | 95 | | nonce | Proof of Stake Unused post Merge. The value will always be 0x0000000000000000
Proof of Work Used to demonstrate proof of work during mining | 0x090c1db284e8b101 | | difficulty | The effort required to mine this block.
Proof of Stake Always 0 | 11594723311525902 | | total_difficulty | Total difficulty of the chain until this block. | 58750003716598352816469 | | size | The size of the block, in bytes, as determined by the gas_limit . | 23628 | | base_fee_per_gas | Post London Upgrade (EIP1559), this represents the minimum gas_used required for a transaction to be included in a block.
Represented in wei. | 10966453825 | |
| gas_limit | Gas limit of the current block. | 30000000 | | gas_used | Total gas used in the block. | 6999860 | | miner | Proof of Stake Address receiving fees from transactions in this block
Proof of Work Address of the miner that mined this block. | 0x388c818ca8b9251b393131c08a736a67ccb19297 | | transaction_count | Number of transactions included in this block. | 95 | | nonce | Proof of Stake Unused post Merge. The value will always be 0x0000000000000000
Proof of Work Used to demonstrate proof of work during mining | 0x090c1db284e8b101 | | difficulty | The effort required to mine this block.
Proof of Stake Always 0 | 11594723311525902 | | total_difficulty | Total difficulty of the chain until this block. | 58750003716598352816469 | | size | The size of the block, in bytes, as determined by the gas_limit . | 23628 | | base_fee_per_gas | Post London Upgrade (EIP1559), this represents the minimum gas_used required for a transaction to be included in a block.
Represented in wei. | 10966453825 | |
|