Deprecated: create plus an informational fresh quote
Deprecated; use /agent/swap/create. Same request (quote-bound, idempotency-key required) and response as create, plus an informational fresh data.quote. The quoteId governs, not the fresh quote.
Request
- Base URL: https://xmrtousdc.xyz/api/v1
- URL: https://xmrtousdc.xyz/api/v1/agent/swap/execute
- Auth: none declared. Required headers: idempotency-key
Headers
Required on agent create and execute (400 idempotency_key_required without it). Use a new random value per order, such as a UUID from crypto.randomUUID(); never a guessable one, because anyone who knows the key can look the order up. Reuse it only to retry this same create: the same key and body return the same order (header idempotent-replayed: true) with its live state. Retry with it after network errors, timeouts and 503 order_outcome_unknown.
Request body
Example request
{
"to": "0x1111111111111111111111111111111111111111"
}Response
Execute response (create response plus an informational data.quote)
Example response
{
"operation": "swap.create",
"data": {
"deposit": {
"payment": {
"uri": "monero:<deposit address>?tx_amount=0.5",
"gas": {
"symbol": "ETH",
"chain": "Arbitrum One"
}
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.