trdefi_quote
Price a stablecoin swap against one position, on-chain, at the current block — no custody, nothing signed, nothing moved. Use this to check USDC/USDT liquidity and get the output amount before preparing a swap. Note that a maker may gate a position on the caller holding an access licence token, and roughly four in five do — those answer with a clear reason instead of a price, which is a property of the maker's strategy rather than an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Strategy hash to quote against. | |
| chain | No | Network key. Defaults to "ethereum". | |
| amount | Yes | Input amount in token base units, as an integer string. e.g. "1000000" for 1 USDC. | |
| direction | No | aToB |