check_order
Check whether a resting order (limit, stop, DCA, trailing) for this pair and size would be executable: oracle support, liquidity, minimum size. Run this before signing any resting order; it does not price the trade — get_route does. Amounts are RAW token units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | ERC-20 address of the token being sold (0x-hex) | |
| amountIn | Yes | amount of tokenIn in RAW token units (decimal string, already scaled by the token's decimals) | |
| tokenOut | Yes | ERC-20 address of the token being bought (0x-hex) |