Indicative quote against a specific live strategy
Indicative only. Nothing is signed, nothing moves. A signable price comes from the write path.
Simulated on-chain against the strategy as it stands right now. Coverage is real but partial, and the response says which case it is: a maker may gate a strategy on the caller holding an access licence token. This is the common case: sampling 500 catalogue positions without the quote_ready filter, 92 percent answered "Strategy is gated", 5 percent returned a price and 3 percent failed for other reasons. Those return UNPROCESSABLE with error: "Strategy is gated"; the rest return a live quote. The endpoint never returns a guessed price.
Request
- Base URL: https://yield.trdefi.com
- URL: https://yield.trdefi.com/api/quote
- Auth: none required
Query parameters
Strategy hash, 64 hex characters.
Chain key. Defaults to ethereum.
Amount in token base units, as a string.
Swap direction.
Response
Indicative quote
Changes
No recorded changes to this operation across all 1 revision of this API.