Module switchboard_on_demand::prelude
source · Re-exports§
pub use crate::SWITCHBOARD_ON_DEMAND_PROGRAM_ID;
pub use crate::SWITCHBOARD_ON_DEMAND_PROGRAM_ID;
pub use crate::SWITCHBOARD_PROGRAM_ID;
pub use rust_decimal;
pub use crate::accounts::*;
pub use crate::decimal::*;
pub use crate::instructions::*;
pub use crate::types::*;
Structs§
- Describes a single account read or written by a program during instruction execution.
- The schema of the output data that will be sent to the quote verification sidecar.
- The schema of the output data that will be sent to the quote verification sidecar.
- A directive for a single invocation of a Solana program.
- A vanilla Ed25519 key pair
- A builder for creating a new PubSubEventClient
- Solana Represents the result of a Solana function call.
- Represents the result of a Solana function call.
- Represents a transaction object used for building Solana transactions.
Enums§
- Function result info
Statics§
Traits§
- A trait for types that can act as signers for transactions.
Functions§
- Fetches a zero-copy account from the Solana blockchain.
- Fetches an account asynchronously using the provided client and public key.
- Fetches the account data synchronously from the Solana blockchain using the provided client.
- Creates a signing keypair generated from randomness sourced from the enclave runtime.
- Invoke a cross-program instruction.
- Invoke a cross-program instruction with program signatures.
- Generates a keypair from a base seed, secret key, optional additional bytes, and an optional program ID.
- Parse a string into an optional Pubkey. If the string is empty, return None.
- Return the unix timestamp in seconds.