StakePoint

Solana DeFi Glossary

Definitions of key terms used in Solana DeFi, token locking, LP locking, and staking. Published by the StakePoint team.

Glossary/Instruction (Solana)

Instruction (Solana)

A single operation within a Solana transaction that calls a specific smart contract function.

Definition

An instruction is the basic unit of execution on Solana. Each instruction specifies: the program to call, the accounts to read or write, and any instruction data (arguments) to pass. A Solana transaction can contain multiple instructions that execute atomically.

Instructions are created by client applications (like StakePoint's frontend) and signed by the user's wallet before being submitted to the network. Validators execute the instructions on-chain by calling the specified programs.

Atomic transactions — where multiple instructions succeed or all fail together — are a powerful feature of Solana's instruction model. For example, a token lock can create the lock account, transfer the tokens, and record the lock metadata in a single atomic transaction.

StakePoint & Instruction (Solana)

Each StakePoint operation (creating a lock, staking, claiming rewards) is implemented as one or more Solana instructions that call the StakePoint Anchor program. These are assembled into transactions and signed by the user's wallet.

Frequently Asked Questions

What is an instruction on Solana?

An instruction is a single operation in a Solana transaction — specifying the program to call, accounts to use, and data to pass.

How many instructions can a Solana transaction contain?

A Solana transaction can contain multiple instructions that execute atomically — all succeed or all fail together.