usdc_convert_native
Converts a chain's native gas token to USDC while retaining a per-chain gas reserve; fetch amounts with the quote tool before executing.
Instructions
Convert the chain's native gas token to USDC, keeping a per-chain gas reserve. Get amounts from usdc_get_convert_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | GDEX API key for AES encryption | |
| chainId | Yes | Chain ID: 1, 10, 56, 146, 8453, 42161 or 622112261 (Solana). No USDC on Robinhood 4663 or Fraxtal 252 | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| minUsdcOutRaw | Yes | Minimum USDC out, raw integer units | |
| walletAddress | No | Control wallet address | |
| nativeAmountRaw | Yes | Native amount to convert, raw integer units | |
| sessionPrivateKey | No | Session private key from sign-in |