We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pub fn faithful() { let faithful_rpc = RpcClient::new("http://faithful/".to_string()); let block = faithful_rpc.get_block_with_config( 205200004, RpcBlockConfig { transaction_details: Some(TransactionDetails::Full), commitment: Some(CommitmentConfig::finalized()), max_supported_transaction_version: Some(0), encoding: Some(UiTransactionEncoding::Base64), rewards: Some(true), }, ); println!("got reply from faithful"); match block { Ok(block) => { println!("blockhash : {}", block.blockhash); }, Err(e) => { println!("Err: {}", e); }, }; }
The text was updated successfully, but these errors were encountered:
Needs support for json encoding for responses.
json
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: