Crate anchor_client
source · [−]Expand description
anchor_client
provides an RPC client to send transactions and fetch
deserialized accounts from Solana programs written in anchor_lang
.
Re-exports
Structs
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.
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.
RequestBuilder
provides a builder interface to create and send
transactions to a cluster.
Enums
Type Definitions
EventHandle unsubscribes from a program event stream on drop.