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,
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"observations_ready": true,
"oldest_pending_seconds": 123,
"pending_transactions": 1,
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": 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>"
}
]
}{
"status": "ok",
"ready": true,
"server_time": "2023-11-07T05:31:56Z",
"pending_transactions": 1,
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"observations_ready": true,
"oldest_pending_seconds": 123,
"pending_transactions": 1,
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": 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>"
}
]
}Market data
Health
Settlement readiness; 503 with the same body when a chain is not ready.
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,
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"observations_ready": true,
"oldest_pending_seconds": 123,
"pending_transactions": 1,
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": 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>"
}
]
}{
"status": "ok",
"ready": true,
"server_time": "2023-11-07T05:31:56Z",
"pending_transactions": 1,
"journal_unpublished": 1,
"journal_oldest_unpublished_seconds": 123,
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"ready": true,
"observations_ready": true,
"oldest_pending_seconds": 123,
"pending_transactions": 1,
"integrity_checked_at": "2023-11-07T05:31:56Z",
"integrity_completed_at": "2023-11-07T05:31:56Z",
"integrity_error": "<string>",
"integrity_mismatch": 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>"
}
]
}Response
Every chain is ready.