anchor_client provides an RPC client to send transactions and fetch
deserialized accounts from Solana programs written in
- 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
Programclient via the
- Program is the primary client handle to be used to build and send requests.
- Iterator with items of type (Pubkey, T). Used to lazily deserialize account structs. Wrapper type hides the inner type from usages so the implementation can be changed.
RequestBuilderprovides a builder interface to create and send transactions to a cluster.