Swap quote and unsigned transaction (Chord)
chord_swap_quoteBest swap route from Chord (getchord.xyz) across the DEXs of the chain, with the UNSIGNED transaction to sign, the ERC-20 approval it needs (as a ready transaction) and a simulation run from the taker wallet. Amounts are integer strings in the token's smallest unit; the zero address is the native coin. Nothing is sent: sign with your own key, then send_raw_transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chord chain key. | |
| taker | No | The wallet that will sign. With it the answer carries tx + approval + a simulation from that wallet. | |
| amount | Yes | Amount of tokenIn in its smallest unit, e.g. '10000000' = 10 USDC. | |
| tokenIn | Yes | Token sold (zero address = native coin). | |
| tokenOut | Yes | Token bought (zero address = native coin). | |
| slippageBps | No | Slippage in basis points (default 50). |