Fee estimate (input token vs DEEP)
estimate_feesEstimate DeepBook fill fees for a pool, quantity, price, and maker/taker role, then compare input-token versus DEEP payment using live on-chain rates.
Instructions
Estimated DeepBook fee for a fill of qty at price as maker or taker, paid in the input token (rate x 1.25) versus in DEEP (base rate), using the live on-chain fee rates and the DEEP_USDC mid. Education/information only; not financial advice. Read-only public data, may be delayed or wrong.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | Base quantity | |
| pool | Yes | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) | |
| role | No | taker | |
| price | No | Price; defaults to the current mid |