Get deployment info
curl --request GET \
--url https://api.lamarge.trade/v1/infoconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/info"
response = requests.get(url)
print(response.text){
"api_version": "v1",
"server_time": "2023-11-07T05:31:56Z",
"operator": "<string>",
"limits": {
"requests_per_second": 123,
"request_burst": 123,
"body_bytes": 123,
"lease_seconds_min": 123,
"lease_seconds_max": 123,
"quote_validity_seconds_max": 123,
"take_parts_max": 123,
"pay_window_seconds": 123,
"route_pay_window_seconds": 123,
"max_unpaid_takes": 123,
"fill_max": "<string>"
},
"settlement": {
"maker_timeout_seconds": 2,
"taker_timeout_seconds": 2,
"delivery": {
"window_seconds": 2,
"abandon_after_seconds": 2,
"report_margin_seconds": 2,
"min_status": 2
}
},
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"token": "<string>",
"symbol": "<string>",
"decimals": 1,
"escrow": "<string>",
"deployment_block": "<string>"
}
],
"access": {
"mode": "open",
"captcha_site_key": "<string>"
}
}Market data
Get deployment info
API version, limits, settlement timings, operator, deployments and access mode. Not a signing trust root: compare with independently reviewed configuration.
GET
/
v1
/
info
Get deployment info
curl --request GET \
--url https://api.lamarge.trade/v1/infoconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/info"
response = requests.get(url)
print(response.text){
"api_version": "v1",
"server_time": "2023-11-07T05:31:56Z",
"operator": "<string>",
"limits": {
"requests_per_second": 123,
"request_burst": 123,
"body_bytes": 123,
"lease_seconds_min": 123,
"lease_seconds_max": 123,
"quote_validity_seconds_max": 123,
"take_parts_max": 123,
"pay_window_seconds": 123,
"route_pay_window_seconds": 123,
"max_unpaid_takes": 123,
"fill_max": "<string>"
},
"settlement": {
"maker_timeout_seconds": 2,
"taker_timeout_seconds": 2,
"delivery": {
"window_seconds": 2,
"abandon_after_seconds": 2,
"report_margin_seconds": 2,
"min_status": 2
}
},
"chains": [
{
"venue": "<string>",
"chain_id": 123,
"token": "<string>",
"symbol": "<string>",
"decimals": 1,
"escrow": "<string>",
"deployment_block": "<string>"
}
],
"access": {
"mode": "open",
"captcha_site_key": "<string>"
}
}Response
200 - application/json
The deployment.