Crate pchain_client
source ·Expand description
Rust client library for the ParallelChain Protocol fullnode RPC API.
Getting started
Get started by creating an instance of client.
use pchain_client::Client;
let client = Client::new("https://rpc_base_url.xyz");
You will then be able to access each RPC through a corresponding method of the same name.
client.submit_transaction(txn);
client.block(block_request);
client.state(state_request);
// etc.
Re-exports
pub use client::Client;
Modules
- Client struct with methods corresponding to each and every fullnode RPC.