Find my funds in retired contracts
curl --request GET \
--url https://api.lamarge.trade/v1/escrow/legacy \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/escrow/legacy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/escrow/legacy"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"chain_id": 137,
"escrow": "<string>",
"owner": "<string>",
"kind": "offer",
"id": "<string>",
"amount": "<string>",
"offer_id": "<string>",
"refund_at": 123,
"reclaimable": true
}
],
"next_cursor": "<string>",
"has_more": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}Escrow
Find my funds in retired contracts
Scans reviewed retired deployments for funds of the master and linked owners. A page covers at most 8,000 blocks of one contract: follow next_cursor, even after an empty page, until has_more is false. Deduplicate by chain_id, escrow, owner, kind and id. Balances and lock states are read on chain. An RPC failure returns an error, never an empty result. Credential scope: read.
GET
/
v1
/
escrow
/
legacy
Find my funds in retired contracts
curl --request GET \
--url https://api.lamarge.trade/v1/escrow/legacy \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/escrow/legacy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/escrow/legacy"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"chain_id": 137,
"escrow": "<string>",
"owner": "<string>",
"kind": "offer",
"id": "<string>",
"amount": "<string>",
"offer_id": "<string>",
"refund_at": 123,
"reclaimable": true
}
],
"next_cursor": "<string>",
"has_more": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}Authorizations
sessionmakerCredential
Master session from POST /v1/auth/verify. Revocable; expires after seven days by default. Required for financial operations.
Query Parameters
next_cursor of the previous page.
Maximum string length:
256