REST API
Overview
OpenAPI Specification
Live Server Endpoint
http://localhost:8090/openapi.yamlStatic Specification
Interactive API Documentation
Endpoints
# Install and run locally (macOS/Linux/Windows)
# See: https://corpus-core.gitbook.io/specification-colibri-stateless/developer-guide/installer
# Configure in MetaMask:
# Network Name: Colibri Verified Ethereum
# RPC URL: http://localhost:8090/rpc
# Chain ID: 1 (or your configured chain)JSON-RPC version
RPC method name
eth_callRequest identifier
Request verified and executed successfully
Internal server error
JSON-RPC version
RPC method name
eth_callRequest identifier
Hex-encoded state of the requested client. Allows the prover to make decisions about required header proofs (e.g., for historic blocks).
0x1234567890abcdefIf true, eth_call proofs will include the required contract bytecode in the proof, enabling stateless verification.
falseProof generated successfully
SSZ-encoded C4Request container. See the C4Request specification for detailed structure.
The container includes:
version: 4-byte version (domain, major, minor, patch)data: Union of different proof data typesproof: Union of different proof typessync_data: Optional light client updates
Internal server error
Configuration updated successfully
Whether the configuration was successfully updated
trueWhether a server restart is required (always true for successful updates)
trueHuman-readable status message
Configuration saved. Restart server to apply changes.Number of parameters that were successfully updated
2Validation error or invalid request
Web UI is disabled
Failed to save configuration
Block identifier. Can be one of:
head- Canonical head in node's viewgenesis- Genesis blockfinalized- Latest finalized block<slot>- Specific slot number<hex_root>- Hex-encoded block root with 0x prefix
headBlock header retrieved successfully
True if the response references an unverified execution payload
True if the response references the finalized history
Bad request - invalid input
Resource not found
Internal server error
Hex-encoded block root with 0x prefix
0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2Pattern: ^0x[a-fA-F0-9]{64}$Light client bootstrap data
Bad request - invalid input
Resource not found
Internal server error
Starting sync committee period
1Number of periods to request
1Array of light client updates
LightClientUpdate structure
Bad request - invalid input
Internal server error
Schemas
Quick Start Examples
Generate a Proof
Verify and Execute a Request
Execute a Smart Contract Call with Proof
Update Configuration
Health Check
Prometheus Metrics
Advanced Features
Client State Parameter
Supported JSON-RPC Methods
Beacon Chain API
Error Handling
HTTP Status Codes
Error Response Format
Rate Limiting & Performance
Security Considerations
Web UI Access
Network Binding
Additional Resources
Last updated