Ready-to-sign transaction that swaps a token into USDC
crypto_swap_to_usdcReady-to-sign transaction that swaps a token into USDC on Base, Arbitrum, Polygon (0x Swap API) or Solana (Jupiter), built for your own address (taker). Returns USDC out and the guaranteed minimum, the approve step if needed, balance warnings, fees (0.25% SiteCheck plus the router's own) and gas. Never signed or sent by SiteCheck: you sign it. Quotes are valid about 30 seconds. Price: $0.005 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sellToken": "<sellToken>",
"taker": "<taker>"
},
"name": "crypto_swap_to_usdc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base, arbitrum, polygon or solana (default base) | |
| taker | Yes | Your wallet address that will sign and send the transaction (0x + 40 hex; Solana: base58 public key) | |
| amount | No | Amount to sell in whole units, e.g. 0.001 (or give sellAmount) | |
| sellToken | Yes | Token to sell: contract address (Solana: mint), ETH/POL/SOL/native for the chain's coin, or WETH | |
| sellAmount | No | Amount to sell in the token's base units (wei, lamports), instead of amount | |
| slippageBps | No | Allowed slippage in basis points, 1 to 300 (default 50 = 0.5%) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||