usdc_estimate_bridge
Quotes the source USDC spend and gas top-up to bridge a specified amount across chains, returning a source spend cap for the transfer.
Instructions
Quote moving USDC between chains (Relay). amountRaw is what arrives on the destination. The response fromAmountRaw is the source spend to cap usdc_execute_bridge with.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | GDEX API key for AES encryption | |
| gasTopUp | No | Destination gas top-up; default on for EVM destinations, off for Solana. Its cost is in the estimate | |
| amountRaw | Yes | USDC to deliver on the destination, raw integer units | |
| toChainId | Yes | Destination chain ID | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| fromChainId | Yes | Source chain ID | |
| walletAddress | No | Control wallet address | |
| gasTopUpAmountUsd | No | Gas top-up in USD, up to 50 (default 1) | |
| sessionPrivateKey | No | Session private key from sign-in |