[−][src]Trait solana_banks_interface::Banks
Associated Types
type SendTransactionWithContextFut: Future<Output = ()>
The response future returned by send_transaction_with_context.
type GetFeesWithCommitmentAndContextFut: Future<Output = (FeeCalculator, Hash, Slot)>
The response future returned by get_fees_with_commitment_and_context.
type GetTransactionStatusWithContextFut: Future<Output = Option<TransactionStatus>>
The response future returned by get_transaction_status_with_context.
type GetSlotWithContextFut: Future<Output = Slot>
The response future returned by get_slot_with_context.
type ProcessTransactionWithCommitmentAndContextFut: Future<Output = Option<Result<()>>>
The response future returned by process_transaction_with_commitment_and_context.
type GetAccountWithCommitmentAndContextFut: Future<Output = Option<Account>>
The response future returned by get_account_with_commitment_and_context.
Required methods
fn send_transaction_with_context(
self,
context: Context,
transaction: Transaction
) -> Self::SendTransactionWithContextFut
self,
context: Context,
transaction: Transaction
) -> Self::SendTransactionWithContextFut
fn get_fees_with_commitment_and_context(
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetFeesWithCommitmentAndContextFut
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetFeesWithCommitmentAndContextFut
fn get_transaction_status_with_context(
self,
context: Context,
signature: Signature
) -> Self::GetTransactionStatusWithContextFut
self,
context: Context,
signature: Signature
) -> Self::GetTransactionStatusWithContextFut
fn get_slot_with_context(
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetSlotWithContextFut
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetSlotWithContextFut
fn process_transaction_with_commitment_and_context(
self,
context: Context,
transaction: Transaction,
commitment: CommitmentLevel
) -> Self::ProcessTransactionWithCommitmentAndContextFut
self,
context: Context,
transaction: Transaction,
commitment: CommitmentLevel
) -> Self::ProcessTransactionWithCommitmentAndContextFut
fn get_account_with_commitment_and_context(
self,
context: Context,
address: Pubkey,
commitment: CommitmentLevel
) -> Self::GetAccountWithCommitmentAndContextFut
self,
context: Context,
address: Pubkey,
commitment: CommitmentLevel
) -> Self::GetAccountWithCommitmentAndContextFut
Provided methods
fn serve(self) -> ServeBanks<Self>
Returns a serving function to use with tarpc::server::Server.