Expand description
Nitro execution RPC namespace (nitroexecution_*).
Implements the RPC interface that the Nitro consensus layer uses to drive
block production on this execution client. The critical method is
digestMessage, which takes an L1 incoming message with metadata and
produces a block, returning the block hash and send root.
Structs§
- RpcBatch
Data Stats - Batch data statistics for L1 cost estimation. Fields have explicit JSON tags (lowercase).
- RpcConsensus
Sync Data - Consensus sync data pushed from consensus. Uses PascalCase JSON serialization (no explicit JSON tags).
- RpcFinality
Data - Finality data pushed from consensus. Uses PascalCase JSON serialization (no explicit JSON tags).
- RpcL1
Incoming Message - L1 incoming message containing header and L2 payload. Fields have explicit JSON tags (camelCase).
- RpcL1
Incoming Message Header - L1 incoming message header. Fields have explicit JSON tags (camelCase).
- RpcMaintenance
Status - Maintenance status. Uses PascalCase JSON serialization (no explicit JSON tags).
- RpcMessage
Result - Result of block production: block hash and send root. Uses PascalCase JSON serialization (no explicit JSON tags).
- RpcMessage
With Metadata - Message with metadata, sent by the consensus layer to the execution client. Fields have explicit JSON tags (camelCase).
- RpcMessage
With Metadata AndBlock Info - Extended message info including block hash and metadata. Uses PascalCase JSON serialization (no explicit JSON tags).
Traits§
- Nitro
Execution ApiServer - Server trait implementation for the
NitroExecutionApiRPC API.