Skip to main content
Glama

The Spice Melange Trading Desk: DeepBook market data connector

Fee estimate (input token vs DEEP)

estimate_fees
Read-onlyIdempotent

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. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qtyYesBase quantity
poolYesDeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)
roleNotaker
priceNoPrice; defaults to the current mid
payment_txNoOnly after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)
payment_tokenNoOnly after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.