quote_crypto_swap
Route a token swap non-custodially. Compares execution providers, normalises every fee and gas cost, and returns transactions for YOUR wallet to sign -- Axiom never holds funds or keys. Chains: Ethereum, Base, Arbitrum One, OP Mainnet. Execution via LI.FI. Axiom fee 15 bps embedded in the swap; the provider's own fee is disclosed separately and is not Axiom revenue. Status: beta.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taker | Yes | Wallet address that will sign and hold the result | |
| toChain | No | Chain id to receive on; defaults to fromChain | |
| buyToken | Yes | Contract address of the token being bought | |
| fromChain | Yes | Chain id to sell on | |
| sellToken | Yes | Contract address of the token being sold | |
| sellAmount | Yes | Amount in the sell token's atomic units | |
| slippageBps | No | Slippage tolerance in basis points | |
| maxTotalFeeBps | No | Refuse routes costing more than this, all-in |