Enum solana_client::rpc_request::RpcRequest [−][src]
pub enum RpcRequest {
Show 63 variants
DeregisterNode,
GetAccountInfo,
GetBalance,
GetBlock,
GetBlockHeight,
GetBlockProduction,
GetBlocks,
GetBlocksWithLimit,
GetBlockTime,
GetClusterNodes,
GetConfirmedBlock,
GetConfirmedBlocks,
GetConfirmedBlocksWithLimit,
GetConfirmedSignaturesForAddress2,
GetConfirmedTransaction,
GetEpochInfo,
GetEpochSchedule,
GetFeeCalculatorForBlockhash,
GetFeeRateGovernor,
GetFees,
GetFirstAvailableBlock,
GetGenesisHash,
GetHealth,
GetIdentity,
GetInflationGovernor,
GetInflationRate,
GetInflationReward,
GetLargestAccounts,
GetLeaderSchedule,
GetMaxRetransmitSlot,
GetMaxShredInsertSlot,
GetMinimumBalanceForRentExemption,
GetMultipleAccounts,
GetProgramAccounts,
GetRecentBlockhash,
GetRecentPerformanceSamples,
GetSnapshotSlot,
GetSignaturesForAddress,
GetSignatureStatuses,
GetSlot,
GetSlotLeader,
GetSlotLeaders,
GetStorageTurn,
GetStorageTurnRate,
GetSlotsPerSegment,
GetStakeActivation,
GetStoragePubkeysForSlot,
GetSupply,
GetTokenAccountBalance,
GetTokenAccountsByDelegate,
GetTokenAccountsByOwner,
GetTokenSupply,
GetTransaction,
GetTransactionCount,
GetVersion,
GetVoteAccounts,
MinimumLedgerSlot,
RegisterNode,
RequestAirdrop,
SendTransaction,
SimulateTransaction,
SignVote,
Custom {
method: &'static str,
},
}
Variants
DeregisterNode
GetAccountInfo
GetBalance
GetBlock
GetBlockHeight
GetBlockProduction
GetBlocks
GetBlocksWithLimit
GetBlockTime
GetClusterNodes
GetConfirmedBlock
👎 Deprecated since 1.7.0:
Please use RpcRequest::GetBlock instead
GetConfirmedBlocks
👎 Deprecated since 1.7.0:
Please use RpcRequest::GetBlocks instead
GetConfirmedBlocksWithLimit
👎 Deprecated since 1.7.0:
Please use RpcRequest::GetBlocksWithLimit instead
GetConfirmedSignaturesForAddress2
👎 Deprecated since 1.7.0:
Please use RpcRequest::GetSignaturesForAddress instead
GetConfirmedTransaction
👎 Deprecated since 1.7.0:
Please use RpcRequest::GetTransaction instead
GetEpochInfo
GetEpochSchedule
GetFeeCalculatorForBlockhash
GetFeeRateGovernor
GetFees
GetFirstAvailableBlock
GetGenesisHash
GetHealth
GetIdentity
GetInflationGovernor
GetInflationRate
GetInflationReward
GetLargestAccounts
GetLeaderSchedule
GetMaxRetransmitSlot
GetMaxShredInsertSlot
GetMinimumBalanceForRentExemption
GetMultipleAccounts
GetProgramAccounts
GetRecentBlockhash
GetRecentPerformanceSamples
GetSnapshotSlot
GetSignaturesForAddress
GetSignatureStatuses
GetSlot
GetSlotLeader
GetSlotLeaders
GetStorageTurn
GetStorageTurnRate
GetSlotsPerSegment
GetStakeActivation
GetStoragePubkeysForSlot
GetSupply
GetTokenAccountBalance
GetTokenAccountsByDelegate
GetTokenAccountsByOwner
GetTokenSupply
GetTransaction
GetTransactionCount
GetVersion
GetVoteAccounts
MinimumLedgerSlot
RegisterNode
RequestAirdrop
SendTransaction
SimulateTransaction
SignVote
Custom
Fields
method: &'static str
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RpcRequest
impl Send for RpcRequest
impl Sync for RpcRequest
impl Unpin for RpcRequest
impl UnwindSafe for RpcRequest
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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