Programming Model

Sysvar

Special read-only accounts maintained by the runtime that expose cluster state to programs. Key sysvars include Clock (slot, timestamp), Rent (lamports-per-byte), EpochSchedule (epoch parameters), RecentBlockhashes, StakeHistory, and Fees. Programs access sysvars by including the sysvar account in the instruction or via the sol_get_sysvar syscall.

IDsysvar

Plain meaning

Start with the shortest useful explanation before going deeper.

Special read-only accounts maintained by the runtime that expose cluster state to programs. Key sysvars include Clock (slot, timestamp), Rent (lamports-per-byte), EpochSchedule (epoch parameters), RecentBlockhashes, StakeHistory, and Fees. Programs access sysvars by including the sysvar account in the instruction or via the sol_get_sysvar syscall.

Mental model

Use the quick analogy first so the term is easier to reason about when you meet it in code, docs, or prompts.

Think of it as one of the core moving pieces your program reads, writes, or invokes at runtime.

Technical context

Place the term inside its Solana layer so the definition is easier to reason about.

Accounts, instructions, PDAs, transactions, and execution flow.

Why builders care

Turn the term from vocabulary into something operational for product and engineering work.

This term unlocks adjacent concepts quickly, so it works best when you treat it as a junction instead of an isolated definition.

AI handoff

AI handoff

Use this compact block when you want to give an agent or assistant grounded context without dumping the entire page.

Sysvar (sysvar)
Category: Programming Model
Definition: Special read-only accounts maintained by the runtime that expose cluster state to programs. Key sysvars include Clock (slot, timestamp), Rent (lamports-per-byte), EpochSchedule (epoch parameters), RecentBlockhashes, StakeHistory, and Fees. Programs access sysvars by including the sysvar account in the instruction or via the sol_get_sysvar syscall.
Related: Clock Sysvar, Rent Exemption, Epoch Schedule
Glossary Copilot

Ask grounded Solana questions without leaving the glossary.

Use glossary context, relationships, mental models, and builder paths to get structured answers instead of generic chat output.

Explain this code

Optional: paste Anchor, Solana, or Rust code so the Copilot can map primitives back to glossary terms.

Ask a glossary-grounded question

Ask a glossary-grounded question

The Copilot will answer using the current term, related concepts, mental models, and the surrounding glossary graph.

Concept graph

See the term as part of a network, not a dead-end definition.

These branches show which concepts this term touches directly and what sits one layer beyond them.

Branch

Clock Sysvar

A sysvar (address: SysvarC1ock11111111111111111111111111111111) that provides the current slot, epoch, unix_timestamp, and leader_schedule_epoch. Programs use Clock to implement time-based logic like lockups or vesting schedules. In Anchor, accessed via `Clock::get()` or as a sysvar account in the accounts struct.

Branch

Rent Exemption

The state where an account holds enough lamports to cover two years of rent, making it effectively permanent. The minimum balance is approximately 0.00089088 SOL per byte of data. Since Solana requires all new accounts to be rent-exempt, this is the minimum funding required when creating accounts.

Branch

Epoch Schedule

The configuration that defines the length of an epoch in slots and governs how epoch boundaries are calculated on a Solana cluster. On mainnet-beta, each epoch is 432,000 slots (approximately 2-3 days at 400ms per slot). The epoch schedule determines when staking rewards are distributed, when stake activations and deactivations take effect, and when the leader schedule is recalculated. It is set at genesis and queryable via the getEpochSchedule RPC method.

Next concepts to explore

Keep the learning chain moving instead of stopping at one definition.

These are the next concepts worth opening if you want this term to make more sense inside a real Solana workflow.

Programming Model

Clock Sysvar

A sysvar (address: SysvarC1ock11111111111111111111111111111111) that provides the current slot, epoch, unix_timestamp, and leader_schedule_epoch. Programs use Clock to implement time-based logic like lockups or vesting schedules. In Anchor, accessed via `Clock::get()` or as a sysvar account in the accounts struct.

Programming Model

Rent Exemption

The state where an account holds enough lamports to cover two years of rent, making it effectively permanent. The minimum balance is approximately 0.00089088 SOL per byte of data. Since Solana requires all new accounts to be rent-exempt, this is the minimum funding required when creating accounts.

Network

Epoch Schedule

The configuration that defines the length of an epoch in slots and governs how epoch boundaries are calculated on a Solana cluster. On mainnet-beta, each epoch is 432,000 slots (approximately 2-3 days at 400ms per slot). The epoch schedule determines when staking rewards are distributed, when stake activations and deactivations take effect, and when the leader schedule is recalculated. It is set at genesis and queryable via the getEpochSchedule RPC method.

Programming Model

Transaction

An atomic unit of execution containing one or more instructions, a recent blockhash, and one or more signatures. All instructions in a transaction execute sequentially and atomically—if any instruction fails, the entire transaction reverts. Transactions have a 1,232-byte size limit (matching IPv6 MTU) and a default 200,000 CU budget.

Commonly confused with

Terms nearby in vocabulary, acronym, or conceptual neighborhood.

These entries are easy to mix up when you are reading quickly, prompting an LLM, or onboarding into a new layer of Solana.

Programming Modelseeds

Seeds

Byte arrays used as inputs to derive a Program Derived Address. Seeds can be any combination of static strings, user pubkeys, mint addresses, or other identifiers (each seed max 32 bytes, up to 16 seeds). For example, seeds=[b'vault', user.key()] derives a unique vault PDA for each user.

Programming Modelsignature

Signature

A 64-byte Ed25519 digital signature over a transaction's message. Each signer in a transaction produces one signature. The first signature (from the fee payer) also serves as the unique transaction ID. Signature verification is parallelized in the TPU's sigverify stage using GPU acceleration.

Programming Modelsigner

Signer

An account that has provided a valid Ed25519 signature in the current transaction. The runtime enforces the is_signer flag on instruction account metas—if an instruction declares an account as a signer, the transaction must include its signature. Missing signer checks are a common vulnerability in Solana programs.

Related terms

Follow the concepts that give this term its actual context.

Glossary entries become useful when they are connected. These links are the shortest path to adjacent ideas.

Programming Modelclock

Clock Sysvar

A sysvar (address: SysvarC1ock11111111111111111111111111111111) that provides the current slot, epoch, unix_timestamp, and leader_schedule_epoch. Programs use Clock to implement time-based logic like lockups or vesting schedules. In Anchor, accessed via `Clock::get()` or as a sysvar account in the accounts struct.

Programming Modelrent-exemption

Rent Exemption

The state where an account holds enough lamports to cover two years of rent, making it effectively permanent. The minimum balance is approximately 0.00089088 SOL per byte of data. Since Solana requires all new accounts to be rent-exempt, this is the minimum funding required when creating accounts.

Networkepoch-schedule

Epoch Schedule

The configuration that defines the length of an epoch in slots and governs how epoch boundaries are calculated on a Solana cluster. On mainnet-beta, each epoch is 432,000 slots (approximately 2-3 days at 400ms per slot). The epoch schedule determines when staking rewards are distributed, when stake activations and deactivations take effect, and when the leader schedule is recalculated. It is set at genesis and queryable via the getEpochSchedule RPC method.

More in category

Stay in the same layer and keep building context.

These entries live beside the current term and help the page feel like part of a larger knowledge graph instead of a dead end.

Programming Model

Account

The fundamental data storage unit on Solana. Every piece of state is stored in an account identified by a 32-byte public key. Accounts hold a lamport balance, an owner program, a data byte array (up to 10MB), and an executable flag. Only the owning program can modify an account's data, but anyone can credit lamports to it.

Programming Model

Program

Executable code deployed on-chain, equivalent to a smart contract on other blockchains. Programs are stateless—they store no data themselves but read/write data in separate accounts they own. Programs are compiled to SBF bytecode and loaded via the BPF Loader. Every program has a unique Program ID (its account's public key).

Programming Model

Instruction

A single operation within a transaction that invokes a program. An instruction specifies: (1) the program ID to call, (2) an array of account metas (pubkey, is_signer, is_writable), and (3) an opaque data byte array. Programs decode the instruction data to determine which operation to perform.

Programming Model

Transaction

An atomic unit of execution containing one or more instructions, a recent blockhash, and one or more signatures. All instructions in a transaction execute sequentially and atomically—if any instruction fails, the entire transaction reverts. Transactions have a 1,232-byte size limit (matching IPv6 MTU) and a default 200,000 CU budget.