Skip to main content
Glama

Swapper - XMR to USDC swaps

Get swap status

get_swap_status
Read-onlyIdempotent

Step 3. waiting_for_funding -> deposit_detected -> swap_processing -> completed, or refunding / terminal_failure (outcome refunded, failed, expired). Long-poll with waitSec 25 and sinceState = the last state; repeat next until terminal. Call it before funding or showing a deposit again. payment: what your wallet will sign; sign only if paymentCheck.safeToSend.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNo
verifyNoDestination address (optional extra check).
orderIdYesFrom create_swap or list_swaps.
paymentNoUnsigned only: tx JSON {to,data,value,chainId}, an ethereum:/monero: URI, calldata or an unsigned raw tx. Never a signed transaction.
waitSecNoLong-poll seconds for a change from sinceState (max 25; more is capped).
sinceStateNoState from your previous call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
nextYes
errorNo
stateNo
statusNo
waitedNo
depositNo
orderIdNo
outcomeNo
payableNo
evidenceNo
receivedNo
terminalNo
trackUrlNo
attentionNo
mayChangeNo
operationYes
destinationNo
userMessageNo
paymentCheckNo
payableReasonNo
receivedBelowMinimumNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / payment / description
      Previous value: -"Raw tx hex, tx JSON, monero:/ethereum: URI or calldata."New value: +"Unsigned only: tx JSON {to,data,value,chainId}, an ethereum:/monero: URI, calldata or an unsigned raw tx. Never a signed transaction."
    • removedOutput schema / properties / afterSwap
      Removed value: -{
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
  2. Changed1 schema field changed
    • addedOutput schema / properties / afterSwap
      Added value: +{
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources