Aster signing network
curl --request POST \
--url https://api.lamarge.trade/v1/venues/aster/rpc \
--header 'Content-Type: application/json'const options = {method: 'POST', headers: {'Content-Type': 'application/json'}};
fetch('https://api.lamarge.trade/v1/venues/aster/rpc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/venues/aster/rpc"
headers = {"Content-Type": "application/json"}
response = requests.post(url, headers=headers)
print(response.text){
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Market data
Aster signing network
RPC URL of chain 1666 (0x682), which a wallet adds with wallet_addEthereumChain to sign an Aster transfer: wallets sign typed data only for their current chain. It answers only eth_chainId and net_version; other methods get JSON-RPC error -32601.
POST
/
v1
/
venues
/
aster
/
rpc
Aster signing network
curl --request POST \
--url https://api.lamarge.trade/v1/venues/aster/rpc \
--header 'Content-Type: application/json'const options = {method: 'POST', headers: {'Content-Type': 'application/json'}};
fetch('https://api.lamarge.trade/v1/venues/aster/rpc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/venues/aster/rpc"
headers = {"Content-Type": "application/json"}
response = requests.post(url, headers=headers)
print(response.text){
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Response
The JSON-RPC answer, or answers for a batch.