Swap quote
chord_quoteBest swap quote on an EVM chain. Chord's own router answers first; another aggregator only when Chord cannot route. Amounts are integer strings in the token's smallest unit; the zero address is the native asset. Returns a quoteId valid for 2 minutes.
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": {
"chain": "<chain>",
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"amount": "<amount>"
},
"name": "chord_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM chain key. Solana swaps are REST only: GET /v1/sol/trade/quote. | |
| taker | No | Optional: the wallet that will sign. With it the answer includes the transaction and a simulation. | |
| amount | Yes | Input amount in the smallest unit, digits only. | |
| tokenIn | Yes | Token address: 0x… on EVM chains, the base58 mint on Solana (case-sensitive). | |
| tokenOut | Yes | Token address: 0x… on EVM chains, the base58 mint on Solana (case-sensitive). | |
| slippageBps | No | Default 50. |