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)Body
jsonrpcstring · enumRequiredPossible values:
JSON-RPC version
methodstringRequiredExample:
RPC method name
eth_callidone ofRequired
Request identifier
stringOptional
numberOptional
nullOptional
Responses
200
Request verified and executed successfully
application/json
Responseone of
or
500
Internal server error
application/json
post
/rpcBody
Responses
200
Proof generated successfully
application/octet-stream
Responsestring · binary
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
500
Internal server error
application/json
post
/proofPath parameters
block_idstringRequiredExample:
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
headResponses
200
Block header retrieved successfully
application/json
400
Bad request - invalid input
application/json
404
Resource not found
application/json
500
Internal server error
application/json
get
/eth/v1/beacon/headers/{block_id}Path parameters
block_rootstring · hexRequiredExample:
Hex-encoded block root with 0x prefix
0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2Pattern: ^0x[a-fA-F0-9]{64}$Responses
200
Light client bootstrap data
application/json
400
Bad request - invalid input
application/json
404
Resource not found
application/json
500
Internal server error
application/json
get
/eth/v1/beacon/light_client/bootstrap/{block_root}Query parameters
start_periodstringRequiredExample:
Starting sync committee period
1countstringRequiredExample:
Number of periods to request
1Responses
200
Array of light client updates
application/json
400
Bad request - invalid input
application/json
500
Internal server error
application/json
get
/eth/v1/beacon/light_client/updatesSchemas
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