Enum solana_client::blockhash_query::Source
source · pub enum Source {
Cluster,
NonceAccount(Pubkey),
}
Variants§
Implementations§
source§impl Source
impl Source
pub fn get_blockhash_and_fee_calculator( &self, rpc_client: &RpcClient, commitment: CommitmentConfig ) -> Result<(Hash, FeeCalculator), Box<dyn Error>>
👎Deprecated since 1.9.0: Please use
get_blockhash
insteadpub fn get_fee_calculator( &self, rpc_client: &RpcClient, blockhash: &Hash, commitment: CommitmentConfig ) -> Result<Option<FeeCalculator>, Box<dyn Error>>
👎Deprecated since 1.9.0: Please do not use, will no longer be available in the future