pub trait Minimal: Sized + Send + Sync + 'static {
    type Metadata: Metadata;

Show 13 methods fn get_balance(
        &self,
        meta: Self::Metadata,
        pubkey_str: String,
        commitment: Option<CommitmentConfig>
    ) -> Result<RpcResponse<u64>>; fn get_epoch_info(
        &self,
        meta: Self::Metadata,
        commitment: Option<CommitmentConfig>
    ) -> Result<EpochInfo>; fn get_genesis_hash(&self, meta: Self::Metadata) -> Result<String>; fn get_health(&self, meta: Self::Metadata) -> Result<String>; fn get_identity(&self, meta: Self::Metadata) -> Result<RpcIdentity>; fn get_slot(
        &self,
        meta: Self::Metadata,
        commitment: Option<CommitmentConfig>
    ) -> Result<Slot>; fn get_block_height(
        &self,
        meta: Self::Metadata,
        commitment: Option<CommitmentConfig>
    ) -> Result<u64>; fn get_highest_snapshot_slot(
        &self,
        meta: Self::Metadata
    ) -> Result<RpcSnapshotSlotInfo>; fn get_transaction_count(
        &self,
        meta: Self::Metadata,
        commitment: Option<CommitmentConfig>
    ) -> Result<u64>; fn get_version(&self, meta: Self::Metadata) -> Result<RpcVersionInfo>; fn get_vote_accounts(
        &self,
        meta: Self::Metadata,
        config: Option<RpcGetVoteAccountsConfig>
    ) -> Result<RpcVoteAccountStatus>; fn get_leader_schedule(
        &self,
        meta: Self::Metadata,
        options: Option<RpcLeaderScheduleConfigWrapper>,
        config: Option<RpcLeaderScheduleConfig>
    ) -> Result<Option<RpcLeaderSchedule>>; fn to_delegate(self) -> IoDelegate<Self, Self::Metadata> { ... }
}

Required Associated Types

Required Methods

Provided Methods

Create an IoDelegate, wiring rpc calls to the trait methods.

Implementors