---
title: "Funding guide: what the user needs before sending"
method: GET
path: "/agent/funding"
tags: ["agent"]
---

# Funding guide: what the user needs before sending

`GET /agent/funding`

## Request

- Base URL: `https://xmrtousdc.xyz/api/v1`
- URL: `https://xmrtousdc.xyz/api/v1/agent/funding`
- Auth: none declared

Static guidance (packages/shared/src/funding.js), identical to the MCP tool get_funding_options, the MCP resource swapper://funding and the page https://xmrtousdc.xyz/guides/get-usdc-on-arbitrum. u2x (default): native USDC (not USDC.e) plus a little ETH for gas, both on Arbitrum One. x2u: XMR in the user's own Monero wallet. Routes and providers are informational, without endorsement. Swapper never holds keys, signs or moves funds.

## Query parameters

- `direction` 'u2x' | 'x2u'

## Response `200`

Funding guide

- FundingResponse
  - `ok` boolean
  - `operation` 'funding.guide'
  - `data` FundingGuide
    - `version` string
    - `direction` 'u2x' | 'x2u'
    - `requirements` FundingRequirements: What the sending wallet needs (from packages/shared/src/funding.js). Included in u2x quotes as data.prerequisites.
      - `sendAsset` object: { symbol, kind, chain, chainId, tokenAddress?, decimals }
      - `gas` PaymentGas
        - `symbol` string
        - `chain` string
        - `note` string
      - `pitfalls` string[]
      - `destination` string
    - `routes` FundingRoute[]
      - `id` string
      - `direction` 'u2x' | 'x2u'
      - `title` string
      - `steps` string[]
      - `providers` object[]: Only providers whose support was verified on their own site. Informational, no endorsement.
        - `name` string
        - `url` string
        - `source` string
        - `verifiedAt` string
        - `note` string
      - `references` object[]
        - `title` string
        - `url` string
        - `verifiedAt` string
    - `references` object[]
    - `custody` string
    - `disclaimer` string

## Other responses

- `400`: invalid_request: unknown direction.

---

[API](https://skmtc.dev/xmrtousdc/apis/swapper-agent-api.md) · [All operations](https://skmtc.dev/xmrtousdc/apis/swapper-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xmrtousdc/apis/swapper-agent-api/revisions/9f4252126907?raw)
