Modules

named accounts for synthesized data accounts for bank state, etc.

Structs

An Account with data that is stored on chain

Client defines the base configuration for building RPC clients to communicate with Anchor programs running on a Solana cluster. It’s primary use is to build a Program client via the program method.

A vanilla Ed25519 key pair

Program is the primary client handle to be used to build and send requests.

An atomically-commited sequence of instructions.

Enums

An attribute of a slot. It describes how finalized a block is at some point in time. For example, a slot is said to be at the max level immediately after the cluster recognizes the block at that slot as finalized. When querying the ledger state, use lower levels of commitment to report progress and higher levels to ensure state changes will not be rolled back.

Constants

There are 10^9 lamports in one SOL

Traits

The Signer trait declares operations that all digital signature providers must support. It is the primary interface by which signers are specified in Transaction signing interfaces

Functions