[−][src]Struct solana_runtime::bank_client::BankClient
Methods
impl BankClient
[src]
Trait Implementations
impl Client for BankClient
[src]
fn transactions_addr(&self) -> String
[src]
impl SyncClient for BankClient
[src]
fn send_message(
&self,
keypairs: &[&Keypair],
message: Message
) -> Result<Signature>
[src]
&self,
keypairs: &[&Keypair],
message: Message
) -> Result<Signature>
fn send_instruction(
&self,
keypair: &Keypair,
instruction: Instruction
) -> Result<Signature>
[src]
&self,
keypair: &Keypair,
instruction: Instruction
) -> Result<Signature>
Create and process a transaction from a single instruction.
fn transfer(
&self,
lamports: u64,
keypair: &Keypair,
pubkey: &Pubkey
) -> Result<Signature>
[src]
&self,
lamports: u64,
keypair: &Keypair,
pubkey: &Pubkey
) -> Result<Signature>
Transfer lamports
from keypair
to pubkey
fn get_account_data(&self, pubkey: &Pubkey) -> Result<Option<Vec<u8>>>
[src]
fn get_account(&self, pubkey: &Pubkey) -> Result<Option<Account>>
[src]
fn get_balance(&self, pubkey: &Pubkey) -> Result<u64>
[src]
fn get_recent_blockhash(&self) -> Result<(Hash, FeeCalculator)>
[src]
fn get_signature_status(
&self,
signature: &Signature
) -> Result<Option<Result<()>>>
[src]
&self,
signature: &Signature
) -> Result<Option<Result<()>>>
fn get_slot(&self) -> Result<u64>
[src]
fn get_transaction_count(&self) -> Result<u64>
[src]
fn poll_for_signature_confirmation(
&self,
signature: &Signature,
min_confirmed_blocks: usize
) -> Result<()>
[src]
&self,
signature: &Signature,
min_confirmed_blocks: usize
) -> Result<()>
fn poll_for_signature(&self, signature: &Signature) -> Result<()>
[src]
fn get_new_blockhash(&self, blockhash: &Hash) -> Result<(Hash, FeeCalculator)>
[src]
impl AsyncClient for BankClient
[src]
fn async_send_transaction(&self, transaction: Transaction) -> Result<Signature>
[src]
fn async_send_message(
&self,
keypairs: &[&Keypair],
message: Message,
recent_blockhash: Hash
) -> Result<Signature>
[src]
&self,
keypairs: &[&Keypair],
message: Message,
recent_blockhash: Hash
) -> Result<Signature>
fn async_send_instruction(
&self,
keypair: &Keypair,
instruction: Instruction,
recent_blockhash: Hash
) -> Result<Signature>
[src]
&self,
keypair: &Keypair,
instruction: Instruction,
recent_blockhash: Hash
) -> Result<Signature>
fn async_transfer(
&self,
lamports: u64,
keypair: &Keypair,
pubkey: &Pubkey,
recent_blockhash: Hash
) -> Result<Signature>
[src]
&self,
lamports: u64,
keypair: &Keypair,
pubkey: &Pubkey,
recent_blockhash: Hash
) -> Result<Signature>
Transfer lamports
from keypair
to pubkey
Auto Trait Implementations
impl Unpin for BankClient
impl Sync for BankClient
impl Send for BankClient
impl !RefUnwindSafe for BankClient
impl !UnwindSafe for BankClient
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,