cashout
Installation
SKILL.md
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 |
import { cashout } from "@usdctofiat/offramp";
import type { WalletClient } from "viem";