sui-rpc 0.3.2

RPC interface definitions and client for the Sui Sdk
Documentation
//! Authenticated event stream verification.
//!
//! [`AuthenticatedEventsClient`] drives the v2
//! `LedgerService.ListEvents` RPC filtered by `EventStreamHeadFilter`,
//! replays each received event into a local Merkle Mountain Range, and
//! periodically reconciles that MMR against the on-chain
//! [`EventStreamHead`] fetched via an OCS inclusion proof. Events are
//! only yielded to the consumer after the reconciliation that covers
//! them succeeds, so every emitted event is cryptographically
//! authenticated end-to-end.
//!
//! [`AuthenticatedEvent`] is the in-memory envelope used both as the
//! decoded form of a `ListEventsResponse` item and as the unit of work
//! flowing through the verifier.
//!
//! [`EventStreamHead`]: sui_sdk_types::framework::EventStreamHead

mod client;
mod config;
mod envelope;
mod state;

pub use client::AuthenticatedEventsClient;
pub use config::AuthenticatedEventsConfig;
pub use envelope::AuthenticatedEvent;