curl --request GET \
--url https://api.lamarge.trade/v1/explorer/transfers/{id}const options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/explorer/transfers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/explorer/transfers/{id}"
response = requests.get(url)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"to": "<string>",
"amount_in": "<string>",
"amount_out": "<string>",
"status": "completed",
"settled_at": "2023-11-07T05:31:56Z",
"taker_address": "<string>",
"executions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"to": "<string>",
"amount_in": "<string>",
"amount_out": "<string>",
"maker_address": "<string>",
"settled_at": "2023-11-07T05:31:56Z",
"payment_fee": "<string>",
"destination": "venue",
"funding": "venue",
"received": {
"token": "<string>",
"amount": "<string>",
"sender": "<string>"
}
}
],
"destination": "venue",
"funding": "venue",
"received": {
"token": "<string>",
"amount": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"state": "PREPARED"
}{
"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"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Read a public transfer receipt
Public route details and constituent execution IDs for their signed trade proofs. A receipt’s ID is its first take’s; a continuation’s take ID is NOT_FOUND.
curl --request GET \
--url https://api.lamarge.trade/v1/explorer/transfers/{id}const options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/explorer/transfers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/explorer/transfers/{id}"
response = requests.get(url)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"to": "<string>",
"amount_in": "<string>",
"amount_out": "<string>",
"status": "completed",
"settled_at": "2023-11-07T05:31:56Z",
"taker_address": "<string>",
"executions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"to": "<string>",
"amount_in": "<string>",
"amount_out": "<string>",
"maker_address": "<string>",
"settled_at": "2023-11-07T05:31:56Z",
"payment_fee": "<string>",
"destination": "venue",
"funding": "venue",
"received": {
"token": "<string>",
"amount": "<string>",
"sender": "<string>"
}
}
],
"destination": "venue",
"funding": "venue",
"received": {
"token": "<string>",
"amount": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"state": "PREPARED"
}{
"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"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Response
A transfer with a signed pending execution or a proven settlement.
pending while a signed execution is in flight, or for two minutes after a route's leg settles without a final delivery, unless the route was dismissed. Otherwise completed with a proven delivery to the final destination and no execution settled or lost without a public proof, else partial; expired and refunded executions do not count. Intermediate remainders are visible in the execution amounts.
completed, partial, pending Where a take delivers on to: venue, into the taker's account linked there; wallet, by plain transfer to recipient's address on to's escrow chain, in that chain's wallet token (chain.wallet in GET /v1/venues; on Polygon native USDC converted from pUSD), to any address a wallet delivery accepts.
venue, wallet How the first take is paid: venue or wallet (wallet funding).
venue, wallet