Struct solana_rpc::rpc::rpc_full::FullClient [−][src]
pub struct FullClient { /* fields omitted */ }
Expand description
The Client.
Implementations
pub fn get_account_info(
&self,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Option<UiAccount>>>>
pub fn get_multiple_accounts(
&self,
pubkey_strs: Vec<String>,
config: Option<RpcAccountInfoConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Vec<Option<UiAccount>>>>>
pub fn get_program_accounts(
&self,
program_id_str: String,
config: Option<RpcProgramAccountsConfig>
) -> impl Future<Output = RpcResult<OptionalContext<Vec<RpcKeyedAccount>>>>
pub fn get_minimum_balance_for_rent_exemption(
&self,
data_len: usize,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<u64>>
pub fn get_inflation_reward(
&self,
address_strs: Vec<String>,
config: Option<RpcEpochConfig>
) -> impl Future<Output = RpcResult<Vec<Option<RpcInflationReward>>>>
pub fn get_inflation_governor(
&self,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<RpcInflationGovernor>>
pub fn get_recent_performance_samples(
&self,
limit: Option<usize>
) -> impl Future<Output = RpcResult<Vec<RpcPerfSample>>>
pub fn get_block_commitment(
&self,
block: Slot
) -> impl Future<Output = RpcResult<RpcBlockCommitment<BlockCommitmentArray>>>
pub fn get_recent_blockhash(
&self,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<RpcResponse<RpcBlockhashFeeCalculator>>>
pub fn get_fees(
&self,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<RpcResponse<RpcFees>>>
pub fn get_fee_calculator_for_blockhash(
&self,
blockhash: String,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Option<RpcFeeCalculator>>>>
pub fn get_fee_rate_governor(
&self
) -> impl Future<Output = RpcResult<RpcResponse<RpcFeeRateGovernor>>>
pub fn get_signature_statuses(
&self,
signature_strs: Vec<String>,
config: Option<RpcSignatureStatusConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Vec<Option<TransactionStatus>>>>>
pub fn get_largest_accounts(
&self,
config: Option<RpcLargestAccountsConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Vec<RpcAccountBalance>>>>
pub fn get_supply(
&self,
config: Option<RpcSupplyConfig>
) -> impl Future<Output = RpcResult<RpcResponse<RpcSupply>>>
pub fn request_airdrop(
&self,
pubkey_str: String,
lamports: u64,
config: Option<RpcRequestAirdropConfig>
) -> impl Future<Output = RpcResult<String>>
pub fn send_transaction(
&self,
data: String,
config: Option<RpcSendTransactionConfig>
) -> impl Future<Output = RpcResult<String>>
pub fn simulate_transaction(
&self,
data: String,
config: Option<RpcSimulateTransactionConfig>
) -> impl Future<Output = RpcResult<RpcResponse<RpcSimulateTransactionResult>>>
pub fn get_slot_leader(
&self,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<String>>
pub fn get_slot_leaders(
&self,
start_slot: Slot,
limit: u64
) -> impl Future<Output = RpcResult<Vec<String>>>
pub fn get_block(
&self,
slot: Slot,
config: Option<RpcEncodingConfigWrapper<RpcBlockConfig>>
) -> impl Future<Output = RpcResult<Option<UiConfirmedBlock>>>
pub fn get_block_time(
&self,
slot: Slot
) -> impl Future<Output = RpcResult<Option<UnixTimestamp>>>
pub fn get_blocks(
&self,
start_slot: Slot,
config: Option<RpcBlocksConfigWrapper>,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<Vec<Slot>>>
pub fn get_blocks_with_limit(
&self,
start_slot: Slot,
limit: usize,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<Vec<Slot>>>
pub fn get_transaction(
&self,
signature_str: String,
config: Option<RpcEncodingConfigWrapper<RpcTransactionConfig>>
) -> impl Future<Output = RpcResult<Option<EncodedConfirmedTransaction>>>
pub fn get_signatures_for_address(
&self,
address: String,
config: Option<RpcSignaturesForAddressConfig>
) -> impl Future<Output = RpcResult<Vec<RpcConfirmedTransactionStatusWithSignature>>>
pub fn get_stake_activation(
&self,
pubkey_str: String,
config: Option<RpcEpochConfig>
) -> impl Future<Output = RpcResult<RpcStakeActivation>>
pub fn get_block_production(
&self,
config: Option<RpcBlockProductionConfig>
) -> impl Future<Output = RpcResult<RpcResponse<RpcBlockProduction>>>
pub fn get_token_account_balance(
&self,
pubkey_str: String,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<RpcResponse<UiTokenAmount>>>
pub fn get_token_supply(
&self,
mint_str: String,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<RpcResponse<UiTokenAmount>>>
pub fn get_token_largest_accounts(
&self,
mint_str: String,
commitment: Option<CommitmentConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Vec<RpcTokenAccountBalance>>>>
pub fn get_token_accounts_by_owner(
&self,
owner_str: String,
token_account_filter: RpcTokenAccountsFilter,
config: Option<RpcAccountInfoConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Vec<RpcKeyedAccount>>>>
pub fn get_token_accounts_by_delegate(
&self,
delegate_str: String,
token_account_filter: RpcTokenAccountsFilter,
config: Option<RpcAccountInfoConfig>
) -> impl Future<Output = RpcResult<RpcResponse<Vec<RpcKeyedAccount>>>>
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