Calculates the exact taker fee and net outcome for a BUY or SELL trade using the legacy fee formula (fee = feeRate × p^exponent). Provide eventId or eventSlug to identify the event.
BUY, SELL BUY: USDC you spend. SELL: shares you sell.
BUY: gross shares you receive. SELL: gross USDC you receive.
Polymarket event ID (provide this or eventSlug).
Polymarket event slug (provide this or eventId).
Fee estimate result