List venues
curl --request GET \
--url https://api.lamarge.trade/v1/venuesconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/venues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/venues"
response = requests.get(url)
print(response.text)[
{
"id": "<string>",
"name": "<string>",
"enabled": true,
"settlement": "escrow",
"chain": {
"wallet": {
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"minimum": "<string>"
},
"id": 123,
"escrow": "<string>",
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"permit": {
"name": "<string>",
"version": "<string>"
},
"direct_deposit": true,
"direct_withdrawal": true,
"wallet_funding": {
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"conversion": {
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"converter": "<string>",
"min_out_bps": 123,
"minimum": "<string>"
}
}
},
"margin_move": {
"primary_type": "<string>",
"types": {},
"domain": {
"name": "<string>",
"chainId": 123,
"verifyingContract": "<string>",
"version": "<string>"
},
"fixed": {},
"amount": "base_units",
"destinations": [
"wallet"
]
},
"release_minimum": "<string>"
}
]Market data
List venues
Every venue in display order, with its settlement terms, token, permit domain, margin-transfer format and deposit minimum, all null when disabled. Check them against the deployment values before signing.
GET
/
v1
/
venues
List venues
curl --request GET \
--url https://api.lamarge.trade/v1/venuesconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/venues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/venues"
response = requests.get(url)
print(response.text)[
{
"id": "<string>",
"name": "<string>",
"enabled": true,
"settlement": "escrow",
"chain": {
"wallet": {
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"minimum": "<string>"
},
"id": 123,
"escrow": "<string>",
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"permit": {
"name": "<string>",
"version": "<string>"
},
"direct_deposit": true,
"direct_withdrawal": true,
"wallet_funding": {
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"conversion": {
"token": "<string>",
"symbol": "<string>",
"decimals": 123,
"converter": "<string>",
"min_out_bps": 123,
"minimum": "<string>"
}
}
},
"margin_move": {
"primary_type": "<string>",
"types": {},
"domain": {
"name": "<string>",
"chainId": 123,
"verifyingContract": "<string>",
"version": "<string>"
},
"fixed": {},
"amount": "base_units",
"destinations": [
"wallet"
]
},
"release_minimum": "<string>"
}
]Response
200 - application/json
Every venue, enabled or not.
escrow: the maker's side of each fill locks in the escrow on chain. venue (Lighter, Aster): the maker delivers inside the venue (active market making); chain only names signing terms. Null for a disabled venue.
Available options:
escrow, venue, null