taker_fee
Compute taker fee on Polymarket CLOB V2 from price, shares, and optional category. Fee = rate * p * (1-p) * shares with rates: crypto 0.07, sports 0.03, others 0-0.05.
Instructions
Official Polymarket taker fee in $ (fee = rate * p * (1-p) * shares). Categories and rates: crypto 0.07, sports 0.03, finance/politics/mentions/ tech 0.04, economics/culture/weather 0.05, geopolitics 0. Makers pay 0.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"price": "<price>",
"shares": "<shares>"
},
"name": "taker_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| shares | Yes | ||
| category | No | crypto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||