Health
curl --request GET \
--url https://api.lamarge.trade/healthconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"ready": true,
"server_time": "2023-11-07T05:31:56Z",
"pending_transactions": 1,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"block": "<string>",
"finalized_block": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"finalized_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"operator_gas": "<string>",
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": true
}
],
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"status": "ok",
"ready": true,
"server_time": "2023-11-07T05:31:56Z",
"pending_transactions": 1,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"block": "<string>",
"finalized_block": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"finalized_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"operator_gas": "<string>",
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": true
}
],
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123
}Market data
Health
Settlement readiness. 200 when every chain’s watcher is fresh at its final head, operator gas suffices, the relay queue is healthy (fewer than 32 pending transactions) and no integrity mismatch is latched. Otherwise 503 with the same body, not the error envelope.
GET
/
health
Health
curl --request GET \
--url https://api.lamarge.trade/healthconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"ready": true,
"server_time": "2023-11-07T05:31:56Z",
"pending_transactions": 1,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"block": "<string>",
"finalized_block": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"finalized_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"operator_gas": "<string>",
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": true
}
],
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"status": "ok",
"ready": true,
"server_time": "2023-11-07T05:31:56Z",
"pending_transactions": 1,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"block": "<string>",
"finalized_block": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"finalized_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"operator_gas": "<string>",
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": true
}
],
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123
}Response
Ready.
Available options:
ok, degraded RFC 3339 UTC; snapshots and history may keep fractional seconds.
Required range:
x >= 0Show child attributes
Show child attributes
Required range:
x >= 0