← ClaudeAtlas

cashoutlisted

Sell Base USDC for fiat with cashout from @usdctofiat/offramp. Use when a user wants a non-custodial cash-out from a real Base wallet into Venmo, Revolut, PayPal, Zelle, Monzo, Chime, or Mercado Pago. Require an explicit fast or best mode. Cash App new creation is disabled in the SDK.
ADWilkinson/usdctofiat-skills · ★ 0 · AI & Automation · score 72
Install: claude install-skill ADWilkinson/usdctofiat-skills
# USDCtoFiat cash-out Use `@usdctofiat/offramp` to call `cashout({ mode: "fast" | "best" })` with a real viem `WalletClient` on Base (`chain_id: 8453`). Require the user to choose a mode. > **Payment-policy boundary:** SDK support proves technical compatibility, not permission from a payment provider. Wise currently prohibits receiving P2P crypto-sale payments. PayPal may require preapproval for cryptocurrency-related payments. Read the provider's current first-party policy before offering a route. ## Fast or Best | Mode | Fee | Pricing | | ------ | ----------------------------------- | -------------------------- | | `fast` | 0% spread / 0 bps | Live oracle route (TOFIAT) | | `best` | Delegate manager fee 10 bps on USDC | Delegate rate-manager path | ```ts import { cashout } from "@usdctofiat/offramp"; import type { WalletClient } from "viem"; export async function sellUsdc(signer: WalletClient) { return cashout({ mode: "fast", signer, amount: "100", currency: "EUR", platform: "revolut", payee: "alice", }); } ``` ```ts const fast = await cashout({ ...input, mode: "fast" }); const best = await cashout({ ...input, mode: "best" }); ``` Strings and numbers are human USDC amounts. A `bigint` is exact six-decimal base units. The helper is production-only and requires an explicit mode. Persist `depositId` immediately. Fast `depositId` is the composite resume key for `createOff