Registry / networking / polymesh-api

polymesh-api

JSON →
library3.13.1rscratesunverified

Polymesh Rust API for interacting with the Polymesh blockchain.

# Cargo.toml [dependencies] polymesh-api = "3.13.1"
INSTALL
IMPORT
SIG · POLYMESH-API
P
polymesh-api
networkingrustv3.13.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PolymeshApi
✓ use polymesh_api::PolymeshApi;

Connects to the Polymesh blockchain.

use polymesh_api::PolymeshApi; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let api = PolymeshApi::new("wss://mainnet.polymesh.network").await?; println!("Connected to Polymesh"); Ok(()) }
Debug
Known issues
gotchaRequires tokio runtime for async operations
fix
Add tokio as dependency and use #[tokio::main]
affects: *
Upgrade
Version history
3.13.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
polymesh-api — cargo add polymesh-api · libregistry