Expand description
§Bankai Types
Shared type definitions for the Bankai SDK ecosystem.
This crate provides common types used across the Bankai SDK, verification library,
and API. It’s designed to work in both std and no_std environments, making it
suitable for use in constrained environments like smart contracts and ZK circuits.
§Modules
proofs- Core proof types (MMR proofs, hashing functions) - works inno_stdapi- API request/response types (requiresstdandapifeature)utils- Utility functions (MMR operations)block- Bankai block representations with beacon and execution client datafetch- Types for proof fetching and wrapping (requiresverifier-typesfeature)verify- Types for verification results (requiresverifier-typesfeature)
§Feature Flags
std(default) - Enable standard library supportapi- Enable API types (requiresstd)verifier-types- Enable verifier-specific types (fetch/verify modules)serde- Enable serde serialization supportutoipa- Enable OpenAPI schema generation
Re-exports§
pub use fetch::ProofWrapper;