WHITE PAPER v1.0

Trade the Signal,
Not the Noise.

AI-powered edge detection for prediction markets. Probability estimation, mispricing analysis, and gasless execution across politics, legal, crypto, and economics.

February 2026 | Precedence Markets | precedence.fun

Contents

  1. Abstract
  2. The Problem
  3. The Precedence Solution
  4. AI Edge Detection Engine
  5. Platform Architecture
  6. Gasless Trading Infrastructure
  7. Legal Market Intelligence
  8. Market Categories
  9. Business Model
  10. Roadmap
  11. Team
01

Abstract

Prediction markets are among the most accurate forecasting mechanisms ever created, consistently outperforming polls, pundits, and expert panels. Yet most traders operate without systematic tools to identify mispricings, relying instead on gut instinct and manual research.

Precedence is an AI-powered prediction market terminal that estimates true probabilities for every market outcome, compares them to current prices, and shows traders exactly where the edge is. By combining GPT-4o analysis with Polymarket's Central Limit Order Book and gasless trading infrastructure, Precedence transforms prediction market trading from intuition-driven to intelligence-driven.

"Our AI estimates true probabilities, detects market mispricing, and shows you exactly where the edge is."

02

The Problem

Prediction markets on platforms like Polymarket process hundreds of millions of dollars in volume across thousands of simultaneous markets. However, individual traders face several challenges:

Information Overload

With thousands of active markets across politics, legal, crypto, economics, and culture, no human can systematically evaluate every market for mispricing. High-value edge opportunities are buried beneath the noise of high-profile, efficiently priced markets.

No Systematic Edge Detection

Traditional trading terminals show prices and order books but offer no opinion on whether those prices are correct. Traders must form their own probability estimates through manual research — a time-intensive process that doesn't scale across thousands of markets.

Legal Markets Are Underserved

Court cases, SCOTUS rulings, regulatory battles, and criminal trials represent some of the most intellectually rigorous prediction challenges. Yet legal markets receive far less attention than political or crypto markets, creating persistent mispricings for those with domain expertise.

Friction in Execution

Most prediction market platforms require gas fees, complex wallet management, and multiple transaction signatures. This friction discourages participation, particularly from users new to blockchain-based trading.

03

The Precedence Solution

Precedence addresses each of these challenges through four integrated capabilities:

AI EDGE DETECTION

GPT-4o estimates true probabilities for every market outcome, calculates the edge versus market price, and identifies the best value opportunities.

MULTI-OUTCOME ANALYSIS

For markets with 2 to 100+ outcomes, AI ranks every candidate with probability estimates, market price comparisons, and mispricing flags.

LEGAL INTELLIGENCE

CourtListener integration provides access to millions of court cases. AI analyzes judge behavior, case precedents, and legal patterns to predict outcomes.

GASLESS TRADING

Polymarket Builder program enables zero-gas-fee trading through Gnosis Safe smart wallets. Users trade with one signature, no ETH required.

04

AI Edge Detection Engine

The core innovation of Precedence is the AI Edge Detection Engine — a system that transforms raw market data into actionable trading intelligence.

How It Works

For each market, the engine performs a multi-step analysis:

  1. Independent Probability Estimation — GPT-4o forms its own probability estimate for each outcome, independent of the current market price. This estimate is grounded in the model's knowledge of politics, law, economics, technology, and historical patterns.
  2. Market Price Comparison — The AI compares its estimate to the live market price from Polymarket's CLOB. The difference is the edge — a quantified measure of potential mispricing.
  3. Edge Direction Analysis — If the AI probability exceeds the market price, the outcome is flagged as "undervalued." If it's lower, the outcome is "overvalued." Edges below 3% are classified as "fairly priced."
  4. Confidence Scoring — Each analysis includes a confidence score (0–100%) reflecting how certain the AI is in its estimate. Low-information markets receive lower confidence.
  5. Risk Assessment — Markets are classified as low, medium, or high risk based on volatility potential, time to resolution, and information asymmetry.

Binary Markets

For YES/NO markets, the engine returns a single probability estimate with edge calculation, bull and bear cases, and key factors analysis.

Multi-Outcome Markets

For markets with multiple outcomes (e.g., "Who will win the 2028 Presidential Election?" with 30+ candidates), the engine:

Example Output

Market: "Democratic Presidential Nominee 2028"
AI Estimate: Gavin Newsom at 30% (market price: 27%) — +3% edge
Best Value: Alexandria Ocasio-Cortez at 15% (market price: 10%) — +5% edge
Confidence: 70% | Risk: Medium

Legal Case Analysis

For court cases searched via CourtListener, a specialized legal analysis pipeline activates:

05

Platform Architecture

Precedence is built as a multi-service architecture deployed across Vercel (frontend) and Railway (backend + database).

PRECEDENCE PLATFORM ARCHITECTURE

Frontend (Next.js 16)                    Vercel
  - Dashboard + trending markets         www.precedence.fun/app
  - Markets (5 category filters)
  - AI Market Analysis
  - Case search + LLM analysis
  - Portfolio + positions
  - Profile + wallet management

Backend (FastAPI)                        Railway
  - /api/markets/* endpoints             PostgreSQL database
  - /api/predictions/* (GPT-4o)
  - /api/cases/* (CourtListener)
  - /api/users/* (profiles)

Trading (Frontend-side)                  Polymarket Builder
  - Safe wallet deployment               Gasless via Relayer
  - Credential derivation                HMAC-signed orders
  - CLOB order placement                 Session caching

External APIs
  - Polymarket Gamma API (market data)
  - Polymarket CLOB API (trading + order books)
  - Polymarket Relayer (gasless transactions)
  - CourtListener API (legal case data)
  - OpenAI GPT-4o (AI market + case analysis)
  - Privy (wallet authentication)

Technology Stack

LayerTechnology
FrontendNext.js 16, TypeScript, Tailwind CSS, Recharts
BackendFastAPI (Python 3.11+), SQLAlchemy
DatabasePostgreSQL on Railway
AI/MLOpenAI GPT-4o, structured JSON responses
AuthenticationPrivy (email, Google, wallet login)
TradingPolymarket CLOB Client, Builder SDK, Relayer
WalletsGnosis Safe smart wallets (gasless deployment)
ChartsRecharts (price history, multi-outcome)
FontsInstrument Serif, DM Sans, JetBrains Mono
06

Gasless Trading Infrastructure

Precedence leverages Polymarket's Builder Program to deliver a zero-gas-fee trading experience. Users never need ETH or MATIC to trade.

Two-Wallet Architecture

The system uses two wallets per user, each with a distinct role:

WalletPurposeContains
EOA (Externally Owned Account)Signing only — proves user intentNo funds
Safe (Gnosis Safe Smart Wallet)Holds funds, executes tradesUSDC for trading

This separation enables gasless trading: the user signs with their EOA, and Polymarket's Relayer executes the transaction from the Safe wallet, paying gas on the user's behalf.

Trading Flow

  1. Connect — User authenticates via Privy (email, Google, or wallet). A Gnosis Safe is deployed gaslessly.
  2. Fund — User sends USDC to their Safe address. Both native USDC and USDC.e are detected.
  3. Analyze — AI analyzes the market and shows probability estimate, edge, and risk.
  4. Trade — User clicks Buy/Sell. A Fill-or-Kill market order is placed on Polymarket's CLOB. One signature required.
  5. Settle — When the market resolves, UMA Oracle verifies the outcome. USDC is distributed to winning positions automatically.

Target: 1 signature per trade for returning users.
Session credentials cached for 30 days in localStorage.

08

Market Categories

Precedence organizes markets into five filterable categories, each with keyword-based classification:

CategoryExamplesKeywords
LegalSCOTUS tariff ruling, Weinstein prison time, Epstein chargescourt, trial, guilty, scotus, charged, prison, verdict
PoliticsPresidential nominees, Fed Chair, electionselection, president, congress, nominee, primary
CryptoBitcoin price, MegaETH FDV, MetaMask tokenbitcoin, ethereum, crypto, solana, token
EconomicsFed rate cuts, tariff revenue, inflationfed, interest rate, inflation, gdp, recession
All MarketsEverything above + culture, geopoliticsNo filter applied

The dashboard Trending Markets section uses a diversification algorithm to ensure representation across categories, rather than displaying only the highest-volume markets (which skew heavily toward politics).

09

Business Model

Precedence generates revenue through two mechanisms:

Platform Fee

A 1% fee is applied to all SELL orders, collected in USDC and transferred to the Precedence treasury via gasless relay. This fee is transparent and displayed in the trading interface.

Builder Revenue Sharing

As a Polymarket Builder, all trading volume attributed to Precedence is tracked via HMAC-signed order headers. Polymarket's Builder program shares a percentage of protocol revenue with builders based on their attributed volume.

Revenue StreamRateMechanism
Platform Fee1% on sellsUSDC transfer via Relayer
Builder RevenueVariablePolymarket volume attribution
10

Roadmap

Completed

AI Market Analysis
GPT-4o edge detection for binary and multi-outcome markets
Polymarket Builder Integration
Gasless trading, Safe wallet deployment, HMAC attribution
Multi-Outcome Market Support
Price charts, order books, and trading for markets with 2-100+ outcomes
Legal Markets Filter
Dedicated tab surfacing SCOTUS, trials, and regulatory markets
CourtListener Integration
Federal case search with AI-powered outcome predictions
Portfolio & Position Tracking
Combined database + Polymarket API position display
Privy Authentication
Email, Google, and wallet login with embedded wallet creation

In Progress

Trade History
Complete trade log with P&L tracking
Signature Reduction
Target: 1 signature per trade via session caching
USDC Auto-Swap
Automatic native USDC to USDC.e conversion via Uniswap V3

Planned

Leaderboards & Reputation
User rankings by profit, volume, and prediction accuracy
Real-Time Comments
WebSocket-powered market discussion via Polymarket RTDS
AI Portfolio Advisor
Automated portfolio analysis with rebalancing suggestions
Mobile App
Native mobile experience for iOS and Android
Notification System
Price alerts, edge detection alerts, and resolution notifications
11

Team

T

Tony

Founder & Developer

Full-stack builder. Designed and built the entire Precedence platform — from AI analysis engine to gasless trading infrastructure to the frontend terminal experience.