pub struct BankClient { /* private fields */ }

Implementations

Trait Implementations

Transfer lamports from keypair to pubkey

Send a signed transaction, but don’t wait to see if the server accepted it.

Create a transaction from the given message, and send it to the server, but don’t wait for to see if the server accepted it. Read more

Create a transaction from a single instruction that only requires a single signer. Then send it to the server, but don’t wait for a reply. Read more

Create and process a transaction from a single instruction.

Transfer lamports from keypair to pubkey

Create a transaction from the given message, and send it to the server, retrying as-needed. Read more

Get an account or None if not found.

Get an account or None if not found.

Get an account or None if not found. Uses explicit commitment configuration.

Get account balance or 0 if not found.

Get account balance or 0 if not found. Uses explicit commitment configuration.

👎 Deprecated since 1.9.0:

Please use get_latest_blockhash instead

Get recent blockhash

👎 Deprecated since 1.9.0:

Please use get_latest_blockhash_with_commitment and get_latest_blockhash_with_commitment instead

Get recent blockhash. Uses explicit commitment configuration.

👎 Deprecated since 1.9.0:

Please use get_fee_for_message or is_blockhash_valid instead

Get Some(FeeCalculator) associated with blockhash if it is still in the BlockhashQueue, otherwise None` Read more

👎 Deprecated since 1.9.0:

Please do not use, will no longer be available in the future

Get recent fee rate governor

Get signature status.

Get signature status. Uses explicit commitment configuration.

Get last known slot

Get last known slot. Uses explicit commitment configuration.

Get transaction count

Get transaction count. Uses explicit commitment configuration.

Poll until the signature has been confirmed by at least min_confirmed_blocks

Poll to confirm a transaction.

👎 Deprecated since 1.9.0:

Please do not use, will no longer be available in the future

Get last known blockhash

Get latest blockhash with last valid block height. Uses explicit commitment configuration.

Check if the blockhash is valid

Calculate the fee for a Message

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more