Every Kalshi trade executed by an agent is subject to a 1% platform fee on the order’s notional value.Documentation Index
Fetch the complete documentation index at: https://docs.aionmarket.com/llms.txt
Use this file to discover all available pages before exploring further.
Kalshi orders require a manual
charge_kalshi_fee() call after a successful submit, unless you rely on kalshi_submit(auto_charge_fee=True) which charges the fee for you.Fee Overview
| Property | Kalshi |
|---|---|
| Fee Rate | 1% of order amount |
| Token | USDC (SPL Token on Solana) |
| Endpoint | POST /aiagent/charge-fee/kalshi/trade-fee |
| SDK Method | charge_kalshi_fee(amount, from_address) |
| On-chain Mechanism | SPL approve(delegate) → transferChecked |
| Pre-Trade Auth Required | SPL approve(delegate) |
Auto-charged by kalshi_submit() | ✅ Yes (when auto_charge_fee=True, default) |
| Platform Address | CHMkL5utJWFFHSkHX6pwWcb8VXj5jAz5fAqqMGAyEXcX |
| Agent Commission | 10% of fee (auto-recorded) |
Kalshi Fee Charging
Fee Calculation
orderAmount— the total USDC amount of the order
| Scenario | Order Amount | Fee (1%) |
|---|---|---|
| $10 USDC buy | 10 | $0.10 |
| $50 USDC buy | 50 | $0.50 |
| $200 USDC buy | 200 | $2.00 |
How to Charge
Prerequisites
- Solana wallet holds sufficient USDC (order amount + fee).
- SPL token approval granted to the platform Fireblocks SOL delegate.
- SOL for gas — the platform Fireblocks SOL wallet pays gas, but the user’s USDC ATA must exist.
Request Body — POST /aiagent/charge-fee/kalshi/trade-fee
| Field | Type | Required | Description |
|---|---|---|---|
amount | string | Yes | Fee amount in USDC as a decimal string (e.g. "0.10"). |
fromAddress | string | Yes | User’s Solana wallet address (USDC ATA owner). |
Response
Agent Commission
Agents that execute trades earn a 10% commission on collected fees:- Platform collects 1% fee → agent receives 0.1% of trade notional.
- Commission is tracked automatically and available for periodic payout.
- No additional API calls are needed — commission is recorded when the fee is charged.