Crate iota_client
source ·Expand description
A general purpose IOTA client library for interaction with the IOTA network (Tangle)
High-level functions are accessible via the Client
.
Sending a block without a payload
let client = Client::builder()
.with_node("http://localhost:14265")?
.finish()?;
let block = client
.block()
.finish()
.await?;
println!("Block sent {}", block.id());
Re-exports
pub use crypto;
pub use iota_pow as pow;
pub use packable;
pub use self::node_api::core::routes::NodeInfoWrapper;
pub use self::client::*;
pub use self::error::*;
pub use self::utils::*;
Modules
High level APIs
API-related types like responses and DTOs.
Core data types for blocks in the tangle.
The Client module to connect through HORNET or Bee with API usages
Constants for the Client
Database provider interfaces and implementations.
Error handling in iota-client crate.
node API modules
The node manager that takes care of sending requests with healthy nodes and quorum if enabled
Secret manager module enabling address generation and transaction essence signing.
Utility functions for IOTA