/// Return an RpcClient for the validator.  As a convenience, also return a recent blockhash and
/// associated fee calculator
Return an RpcClient for the validator.  As a convenience, also return a recent blockhash and
associated fee calculator
Return an RpcClient for the validator . As a convenience also return a recent blockhash and associated fee calculator
pub fn rpc_client(&self) -> (RpcClient, Hash, FeeCalculator) {
        let rpc_client =
            RpcClient::new_with_commitment(self.rpc_url.clone(), CommitmentConfig::processed());
        #[allow(deprecated)]
        let (recent_blockhash, fee_calculator) = rpc_client
            .get_recent_blockhash()
            .expect("get_recent_blockhash");
        (rpc_client, recent_blockhash, fee_calculator)
    }
pub fn rpc_client ( & self ) -> ( RpcClient , Hash , FeeCalculator ) { let rpc_client = RpcClient :: new_with_commitment ( self . rpc_url . clone ( ) , CommitmentConfig :: processed ( ) ) ; # [ allow ( deprecated ) ] let ( recent_blockhash , fee_calculator ) = rpc_client . get_recent_blockhash ( ) . expect ( " " ) ; ( rpc_client , recent_blockhash , fee_calculator ) }
Return an RpcClient for the validator.
Return an RpcClient for the validator .
&self