Module api

Source
Expand description

API request and response types

Types for interacting with the Bankai API, including block queries, proof requests, and chain statistics.

Requires the api feature flag. API request and response types

This module contains all types used for interacting with the Bankai API. These types represent the JSON structures sent to and received from API endpoints.

Modulesยง

blocks
Block query types and responses
chains
Chain configuration and metadata
error
API error types
proofs
Proof request and response types (re-exports from root proofs module)
stats
Chain statistics and metrics