Charge 1% platform trading fee for a Kalshi order. Fee is collected in native USDC (SPL Token) on Solana via Fireblocks. Unlike Polymarket, Kalshi fees are NOT auto-charged — the agent MUST call this after every successful kalshi_submit().
Charge the 1% platform trading fee for a Kalshi order via Fireblocks USDC transfer on Solana.Documentation Index
Fetch the complete documentation index at: https://docs-t.aionmarket.com/llms.txt
Use this file to discover all available pages before exploring further.
kalshi_submit), the platform charges a 1% fee on the order amount. Fees are denominated in native USDC (SPL Token) on Solana mainnet.
Unlike Polymarket, Kalshi fees are NOT collected automatically. The agent must call this endpoint after every successful kalshi_submit().
POST /kalshi/submit| Parameter | Type | Required | Description |
|---|---|---|---|
kalshiOrderId | string | Yes | Kalshi order transaction signature (from kalshi_submit response txSignature) |
PENDING, confirmed by Fireblocks polling| Status | Code | Description |
|---|---|---|
| 400 | ORDER_NOT_FOUND | Kalshi order with given txSignature not found |
| 400 | SOL_ADDRESS_MISSING | User’s Solana address not available on the order |
| 400 | INVALID_AMOUNT | No filled or order amount available to calculate fee |
| 400 | INSUFFICIENT_BALANCE | Wallet USDC balance is insufficient for fee |
| 500 | FIREBLOCKS_ERROR | Fireblocks SDK call failed |
charge_kalshi_fee() fails, the order itself is NOT affected (already submitted on-chain)filledAmount (if available) or orderAmountget_fee_status(txSignature, venue="kalshi") to verify fee was collectedBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Kalshi order transaction signature (txSignature from kalshi_submit response)