Quote a trade
phlece_quote_tradeWhat a buy or sell would give right now, from the pool's live price: amount out, the minimum after slippage, the fee, and price impact. With payWith, a buy paid in another Arc coin, with each leg of the route. Reads only; nothing is signed.
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": {
"coin": "<coin>",
"side": "<side>",
"amount": "<amount>"
},
"name": "phlece_quote_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | The coin's 0x address or its ticker (for example PHLECE or $PHLECE). | |
| side | Yes | ||
| amount | Yes | For a buy, the coin to spend (the paired coin, usually USDC, or payWith); for a sell, the coins to sell. A decimal string such as "5". | |
| payWith | No | Buys only: pay with a coin other than the pair, in one transaction. EURC, GBPA, cirBTC, WETH or XAUM, another Phlece coin with the same pair (ticker or address), or any token address with a Uniswap v3 pool against the pair. The route goes through the pool that gives the most coins. Omit to pay with the pair. | |
| slippageBps | No | Default 250 (2.5%), the site's own. |