Overview
Predexon Trading API manages wallets on behalf of users. Instead of requiring users to handle private keys, manage gas, or sign transactions, the API handles all of this automatically.Simplified Integration
No wallet SDKs or key management needed in your application
Gasless Trading
Polymarket trades use gasless relay - no POL required
Multi-Venue
Single API for trading on Polymarket (Polygon) and Kalshi (Solana)
Secure Key Management
Private keys managed by Turnkey - you never handle them
How It Works
- Your Application calls the Predexon Trading API
- Predexon API manages user wallets and executes trades
- Venues settle transactions on their respective blockchains
Wallet Management
When you create a user, the API generates managed wallets for each venue:| Venue | Deposit Address | Blockchain |
|---|---|---|
| Polymarket | polymarketWalletAddress | Polygon (USDC.e) |
| Kalshi | kalshiWalletAddress | Solana (USDC + SOL) |
Key Security
Private keys are managed by Turnkey, a secure key management infrastructure:- Predexon never sees private keys - keys are generated and stored in Turnkey’s secure environment
- Hardware-backed security - keys never leave secure enclaves
- No key management in your app - all signing happens server-side
Order Execution
Polymarket Orders
Polymarket uses an orderbook: Order Types:- Limit Orders: Placed on the orderbook at a specific price, wait for a counterparty
- Market Orders: Execute immediately at the best available price
- Orders can be partially filled
- Open orders can be cancelled
- Gasless relay means no POL needed
Kalshi Orders
Kalshi orders execute atomically: Execution Model:- All-or-nothing execution (no partial fills)
- Instant settlement
- Cannot be cancelled (atomic)
- Requires SOL for transaction fees
Position Lifecycle
Positions move through three stages:Redeemable
Winning positions can be redeemed for USDC via the Redeem endpoint.
Security Model
Each API key can only access users it created. Attempting to access another API key’s users returns403 Forbidden.
Fee Structure
| Venue | Trading Fees | Gas Fees |
|---|---|---|
| Polymarket | Per Polymarket schedule | Gasless (relay covers) |
| Kalshi | Included in swap | User pays SOL |
Kalshi trading requires SOL for Solana transaction fees.
Comparison to Self-Custody
| Feature | Predexon | Self-Custody |
|---|---|---|
| Key management | Handled by API | You manage |
| Gas fees | Gasless (Polymarket) | You pay |
| Integration complexity | REST API calls | Wallet SDKs + signing |
| Multi-chain support | Unified API | Separate integrations |
| Withdrawal | API call | Direct blockchain tx |
