docs.rs failed to build subxt-rpcs-0.50.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
subxt-rpcs-0.44.3
subxt-rpcs
This crate provides an interface for interacting with Substrate nodes via the available RPC methods.
use ;
// Connect to a local node:
let client = from_url.await?;
// Use a set of methods, here the V2 "chainHead" ones:
let methods = new;
// Call some RPC methods (in this case a subscription):
let mut follow_subscription = methods.chainhead_v1_follow.await.unwrap;
while let Some = follow_subscription.next.await