Expand description
Axum-based HTTP server for the Mina node RPC API.
This module provides REST endpoints for node status, state inspection, snark pool management, and transaction handling.
Modulesยง
- macros ๐
- Macros for HTTP handlers.
- openapi ๐
- OpenAPI documentation configuration.
- routes ๐
- Route handlers for the axum HTTP server.
- types ๐
- Shared types for the axum HTTP server.
Structsยง
- AppState
- Application state shared across all axum handlers.
- Json
Error Response - JSON error response body.
Enumsยง
- AppError
- HTTP API error type that converts to appropriate HTTP responses.
Functionsยง
- openapi_
spec - Returns the OpenAPI specification for the HTTP API.
- run
- Runs the HTTP server on the specified port.
Type Aliasesยง
- AppResult
- Result type alias for HTTP handlers.