GET /api/v1/layer1BasicInfo
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/api/v1/layer1BasicInfoCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeConnected L1 Ethereum network provider status and chain IDs.
Parameters
No parameters documented.
Response
type: object
data key: contract_addresses
pagination: none
sample: {
"code": "int",
"l1_providers": "array[1]",
"l1_providers_health": "bool",
"validator_info": "array[0]",
"contract_addresses": "array[3]",
"latest_l1_generic_block": "int",
"latest_l1_governance_block": "int",
"latest_l1_desert_block": "int"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lighter/api/v1/layer1BasicInfo"