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

Modules

  • High level APIs
  • API-related types like responses and DTOs.
  • Core data types for blocks in the tangle.
  • Builder of the Client Instance
  • The Client module to connect through HORNET or Bee with API usages
  • Constants for the Client
  • Error handling in iota-client crate.
  • message_interfacemessage_interface
    Message interface for bindings
  • 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.
  • Database provider interfaces and implementations.
  • strongholdstronghold
    Stronghold integration for iota.rs.
  • Utility functions for IOTA

Structs

  • A seed is an arbitrary bytestring used to create the root of the tree.
  • A parsed URL record.