agent

Supported chains/directions

Directions (x2u, u2x), live chains, default chain, validation rules (incl. receiveAmount), apiBaseUrl, endpoints (/api/v1 paths) and endpointUrls (absolute), contractVersion, quotePolicy (incl. minimumPublished, minimumNote, reconfirmPolicy, reverseQuote), payable (reasons, minRemainingSec), origin, evidence, attestation (signing status, kid, thumbprint, keySet), trust (custody, provider, fees and data-retention facts derived from the running configuration), provider (name, apiVersion, unknownOutcomeRecovery), statusLongPoll, idempotency, lifecycle, limits (provider minSwapUsd per chain), funding (pointer to /agent/funding) and the list of unsupported provider features.

get/agent/capabilities

Request

  • Base URL: https://xmrtousdc.xyz/api/v1
  • URL: https://xmrtousdc.xyz/api/v1/agent/capabilities
  • Auth: none declared

Response

Capabilities

okboolean
operationstring
contractVersionstring
apiBaseUrlstring nullable
endpointsobject
endpointUrlsobject
quotePolicyobject

createRequiresQuoteId, quoteAcceptWindowSec, singleUse, guaranteed:false, minimumPublished (false on Wagyu v2: the provider publishes no minimum receive amount), minimumNote, reconfirmPolicy (when an order is never payable: reconfirm_required), reverseQuote { field: receiveAmount, exclusiveWith: amount, basis (on Wagyu v2 only ["estimate"]), maxUpstreamQuotes, sendAmountStep, note }.

payableobject

{ field: data.payable, reasonField: data.payableReason, reasons (every PayableReason value), minRemainingSec: 600, note }.

originobject

{ field: data.origin, values: [agent_quote, other], note }: only agent_quote orders can be payable.

evidenceobject

{ field: data.evidence, note }: provider-reported transaction hashes, not chain checks.

attestationobject

{ status: active | not_configured | <signer reason>, kid, thumbprint, keySet (keys/attestation-keys.json), version (swapper.order-attestation.v1), field (data.deposit.attestation), scope }.

trustobject

Facts derived from the running configuration: custody (Swapper holds no funds and never signs), provider (what it receives, what Swapper checks and cannot check), fees, data retention, unknowns.

providerobject

{ name: wagyu, apiVersion, unknownOutcomeRecovery }.

statusLongPollobject

{ params: [waitSec, sinceState], maxWaitSec, recheckIntervalSec, note }

validationRulesobject

amount, receiveAmount, destination address and idempotency-key rules.

unsupportedstring[]

Provider features Swapper does not offer or cannot verify (for example: no published minimum receive amount).

lifecycleobject
idempotencyobject

Example response

{
  "operation": "capabilities",
  "contractVersion": "2026-10-08",
  "funding": {
    "path": "/api/v1/agent/funding"
  },
  "limits": {
    "source": "provider quotes (minDepositUsd)"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.