docs.rs failed to build solana-client-wasm-1.11.0-beta
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:
solana-client-wasm-1.18.0
Solana WASM Client
Non-blocking implementation of WASM compatible Solana Client.
Usage
You can use solana-client non-blocking API.
solana-sdk is exported from the lib so you don't need to add it to your dependencies.
Example
use ;
// Create client
let client = new;
// Get a random pubkey
let pubkey = new.pubkey;
// Get balance
let balance = client.get_balance.await?; // in lamports
info!; // 0