Decode a quote result
decode_quoteRead-onlyIdempotent
Decode the eth_call result YOUR node returned for a prepare_quote call: net output after the 0.28% fee, the minimum the Router enforces on-chain, price impact, the Phoenix Check verdict (ok / caution / danger / blocked — fails closed) and, with a recipient, verified unsigned calldata. Pure computation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | the 0x hex result of the eth_call on your node | |
| request | Yes | the `request` object prepare_quote returned, verbatim |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: see code, error | |
| tx | No | ||
| code | No | ||
| meta | No | ||
| mode | No | ||
| entry | No | ||
| error | No | ||
| exact | No | ||
| quote | No | ||
| route | No | ||
| checks | No | ||
| minOut | No | ||
| chainId | No | ||
| tokenIn | No | ||
| txError | No | ||
| amountIn | No | ||
| approval | No | ||
| deadline | No | ||
| tokenOut | No | ||
| amountOut | No | ||
| encodedBy | No | ||
| executeWith | No | ||
| unwrapAfter | No | ||
| wrapRequired | No | ||
| grossAmountOut | No | ||
| protocolVersion | No |