pub enum BanksRequest {
SendTransactionWithContext {
transaction: Transaction,
},
GetFeesWithCommitmentAndContext {
commitment: CommitmentLevel,
},
GetTransactionStatusWithContext {
signature: Signature,
},
GetSlotWithContext {
commitment: CommitmentLevel,
},
GetBlockHeightWithContext {
commitment: CommitmentLevel,
},
ProcessTransactionWithPreflightAndCommitmentAndContext {
transaction: Transaction,
commitment: CommitmentLevel,
},
ProcessTransactionWithCommitmentAndContext {
transaction: Transaction,
commitment: CommitmentLevel,
},
SimulateTransactionWithCommitmentAndContext {
transaction: Transaction,
commitment: CommitmentLevel,
},
GetAccountWithCommitmentAndContext {
address: Pubkey,
commitment: CommitmentLevel,
},
GetLatestBlockhashWithContext {},
GetLatestBlockhashWithCommitmentAndContext {
commitment: CommitmentLevel,
},
GetFeeForMessageWithCommitmentAndContext {
commitment: CommitmentLevel,
message: Message,
},
}
Expand description
The request sent over the wire from the client to the server.
Variants§
SendTransactionWithContext
Fields
§
transaction: Transaction
GetFeesWithCommitmentAndContext
Fields
§
commitment: CommitmentLevel
GetTransactionStatusWithContext
GetSlotWithContext
Fields
§
commitment: CommitmentLevel
GetBlockHeightWithContext
Fields
§
commitment: CommitmentLevel
ProcessTransactionWithPreflightAndCommitmentAndContext
ProcessTransactionWithCommitmentAndContext
SimulateTransactionWithCommitmentAndContext
GetAccountWithCommitmentAndContext
GetLatestBlockhashWithContext
Fields
GetLatestBlockhashWithCommitmentAndContext
Fields
§
commitment: CommitmentLevel
GetFeeForMessageWithCommitmentAndContext
Trait Implementations§
source§impl Debug for BanksRequest
impl Debug for BanksRequest
source§impl<'de> Deserialize<'de> for BanksRequest
impl<'de> Deserialize<'de> for BanksRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for BanksRequest
impl Serialize for BanksRequest
source§impl<S> Serve<BanksRequest> for ServeBanks<S>where
S: Banks,
impl<S> Serve<BanksRequest> for ServeBanks<S>where S: Banks,
§type Resp = BanksResponse
type Resp = BanksResponse
Type of response.
§type Fut = BanksResponseFut<S>
type Fut = BanksResponseFut<S>
Type of response future.