Struct solana_rpc::rpc::rpc_deprecated_v1_7::gen_client::Client [−][src]
pub struct Client { /* fields omitted */ }
Expand description
The Client.
Implementations
pub fn get_confirmed_block(
&self,
slot: Slot,
config: Option<RpcEncodingConfigWrapper<RpcConfirmedBlockConfig>>
) -> impl Future<Output = RpcResult<Option<UiConfirmedBlock>>>
pub fn get_confirmed_blocks(
&self,
start_slot: Slot,
config: Option<RpcConfirmedBlocksConfigWrapper>,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<Vec<Slot>>>
pub fn get_confirmed_blocks_with_limit(
&self,
start_slot: Slot,
limit: usize,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<Vec<Slot>>>
pub fn get_confirmed_transaction(
&self,
signature_str: String,
config: Option<RpcEncodingConfigWrapper<RpcConfirmedTransactionConfig>>
) -> impl Future<Output = RpcResult<Option<EncodedConfirmedTransaction>>>
pub fn get_confirmed_signatures_for_address2(
&self,
address: String,
config: Option<RpcGetConfirmedSignaturesForAddress2Config>
) -> impl Future<Output = RpcResult<Vec<RpcConfirmedTransactionStatusWithSignature>>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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