# Outcome - [Outcome Deployer Architecture](https://docs.outcome.xyz/outcome-architecture.md) - [Outcome: an on-chain prediction market on Hyperliquid](https://docs.outcome.xyz/introduction.md) - [Wallets and accounts: self-custody or Privy social login](https://docs.outcome.xyz/wallets-and-accounts.md) - [Funding your Outcome account with USDC](https://docs.outcome.xyz/funding-your-account.md) - [Placing your first prediction market trade on Outcome](https://docs.outcome.xyz/placing-your-first-trade.md) - [How prediction markets work: prices, probabilities, payoffs](https://docs.outcome.xyz/how-prediction-markets-work.md) - [How Outcome is built on Hyperliquid and HIP-4](https://docs.outcome.xyz/outcome-and-hyperliquid.md) - [Outcome tokens and pricing: mint, burn, probabilities](https://docs.outcome.xyz/outcome-tokens-and-pricing.md): How outcome token prices stay coherent: mint and burn complete sets for 1 USDC, why prices sum to 1, and how to read each price as implied probability. - [Binary and multi-outcome market types on Outcome](https://docs.outcome.xyz/market-types.md) - [Recurring markets: auto-deployed daily and periodic markets](https://docs.outcome.xyz/recurring-markets.md) - [Resolution](https://docs.outcome.xyz/resolution.md) - [Real world event markets: resolution, deployment, and templates](https://docs.outcome.xyz/real-world-events.md): How Outcome resolves real world event markets, which markets get deployed, and the fixed templates every market's rules come from. - [Reading the Outcome order book: bids, asks, depth](https://docs.outcome.xyz/reading-the-order-book.md) - [Limit orders vs market orders on Outcome](https://docs.outcome.xyz/order-types.md) - [Order lifecycle: submission, matching, fills, and cancels](https://docs.outcome.xyz/order-lifecycle.md) - [Managing prediction market positions on Outcome](https://docs.outcome.xyz/managing-your-positions.md) - [Closing a prediction market position on Outcome](https://docs.outcome.xyz/closing-a-position.md) - [Market resolution and settlement on Outcome explained](https://docs.outcome.xyz/resolution-and-settlement.md) - [Withdrawing USDC from Outcome to Arbitrum](https://docs.outcome.xyz/withdrawing-funds.md) - [Activate the 4% Hyperliquid trading fee discount](https://docs.outcome.xyz/trading-fee-discount.md) - [Builder Codes](https://docs.outcome.xyz/builder-codes.md) - [Badges and cards](https://docs.outcome.xyz/badges-and-cards.md) - [Leaderboard](https://docs.outcome.xyz/leaderboard.md) - [Outcome Liquidity Rewards](https://docs.outcome.xyz/outcome-liquidity-rewards.md) - [Fees](https://docs.outcome.xyz/fees.md) - [Risks](https://docs.outcome.xyz/risks.md) - [Outcome HIP-4 SDK: outcomes on Hyperliquid](https://docs.outcome.xyz/sdk/introduction.md): A typed TypeScript SDK for building on HIP-4 - fetch markets, stream live data, place orders, run conversion primitives, and manage your positions on Hyperliquid. - [Install the @outcome.xyz/hip4 SDK: setup and entry points](https://docs.outcome.xyz/sdk/installation.md): Install @outcome.xyz/hip4 in a TypeScript project with pnpm, npm, or yarn, and learn the two entry points, ESM and CommonJS formats, and TypeScript compiler options. - [HIP-4 SDK quickstart: install, authenticate, and trade](https://docs.outcome.xyz/sdk/quickstart.md): Install the HIP-4 SDK, fetch live prediction markets, authenticate with an agent key, and place your first order on Outcome - five steps end-to-end. - [HIP-4 Prediction Market Types: Binary, Multi, Bucket](https://docs.outcome.xyz/sdk/concepts/markets.md): How prediction markets are structured in HIP-4: the four market types, the event and outcome hierarchy, market status, and how prices work. - [HIP-4 Authentication: Agent Keys and EIP-712 Signing](https://docs.outcome.xyz/sdk/concepts/authentication.md): How the two-layer auth model works in HIP-4: approving an ephemeral agent key so your app can sign orders silently without prompting the user's wallet. - [HIP-4 Coin Names, Asset IDs, and Side Conventions](https://docs.outcome.xyz/sdk/concepts/coin-naming.md): The two coin formats used in HIP-4, how asset IDs are computed, the coin helper functions and sideIndex conventions. - [Discover HIP-4 events, categories, and typed markets](https://docs.outcome.xyz/sdk/reference/events-adapter.md): Reference for PredictionEventAdapter: list and filter prediction events, fetch categories, and discover typed HIP-4 markets with grouping and pagination. - [Fetch HIP-4 order books, prices, trades, and candles](https://docs.outcome.xyz/sdk/reference/market-data-adapter.md): Reference for PredictionMarketDataAdapter: fetch L2 order books, midpoint prices, recent trades, and OHLCV candles, or subscribe to live WebSocket streams. - [Place HIP-4 orders, cancel, and convert outcome tokens](https://docs.outcome.xyz/sdk/reference/trading-adapter.md): PredictionTradingAdapter API: place limit and market orders on HIP-4 outcomes, cancel resting orders, and run split, merge, and negate conversions. - [Read HIP-4 positions, balances, and trade history](https://docs.outcome.xyz/sdk/reference/account-adapter.md): Reference for PredictionAccountAdapter: read positions, 30-day trade history, balances, and open orders for any wallet, plus subscribe to updates via polling. - [Move, send, and withdraw USDC with the HIP-4 wallet adapter](https://docs.outcome.xyz/sdk/reference/wallet-adapter.md): Move USDC between your spot and perps balances, send and withdraw funds, and run spot orders using the HIP-4 wallet adapter. - [Approve agent keys and initialize HIP-4 auth](https://docs.outcome.xyz/sdk/reference/auth-adapter.md): Approve an ephemeral agent keypair, initialize the auth adapter, and check authentication state before placing orders or executing USDH spot trades. - [HIP-4 SDK Utilities: Pricing, Coins, and Orderbook](https://docs.outcome.xyz/sdk/reference/utilities.md): Pure utility functions from @outcome.xyz/hip4 for tick-aligned pricing, market discovery, coin name encoding, cost estimation, and price feed streams. - [TypeScript Types Reference for the @outcome.xyz/hip4 SDK](https://docs.outcome.xyz/sdk/reference/types.md): All exported TypeScript types from @outcome.xyz/hip4: market shapes, event and outcome types, order params, account state, and market data interfaces. - [Outcome rewards - programme totals, wallet earnings, and payouts](https://docs.outcome.xyz/sdk/reference/outcome-rewards.md): Read what the Outcome Markets liquidity-rewards programme has paid: programme-wide totals, one wallet's earnings, finalized reward periods, and a leaderboard, using the outcomeRewards module in @outcome.xyz/hip4. - [SDK changelog: releases of @outcome.xyz/hip4](https://docs.outcome.xyz/sdk/changelog.md): Release history of the @outcome.xyz/hip4 TypeScript SDK - new features, changes, and fixes per version. - [Embed Outcome markets on your site](https://docs.outcome.xyz/sdk/guides/recipes/embedded-markets.md): Add a live Outcome market to any page with one iframe: odds chart, live trades, and buy buttons that open outcome.xyz. - [Showcase Outcome markets on your site](https://docs.outcome.xyz/sdk/guides/recipes/showcase-markets.md): List Outcome's live markets by category on your own site and open each one on outcome.xyz in a new tab. No wallet, no keys, no backend. - [Showcase Outcome markets: the code](https://docs.outcome.xyz/sdk/guides/recipes/showcase-markets-code.md): Load Outcome's markets with the SDK, assign outcome.xyz categories, and link each market to outcome.xyz in a new tab. - [Let users trade Outcome markets on your site](https://docs.outcome.xyz/sdk/guides/recipes/full-trading-integration.md): Users connect their own wallet, approve trading once per session, and trade Outcome's markets on your site. Optionally earn a builder fee. - [Let users trade Outcome markets: the code](https://docs.outcome.xyz/sdk/guides/recipes/full-trading-integration-code.md): Connect the user's wallet, approve trading, move USDC to spot, and place and cancel orders with the SDK. - [How to fetch and filter HIP-4 prediction markets](https://docs.outcome.xyz/sdk/guides/fetch-markets.md): Query, filter, group, and paginate HIP-4 markets by type-defaultBinary, labelledBinary, multiOutcome, and priceBucket-using the events adapter. - [How to place and cancel orders on HIP-4 markets](https://docs.outcome.xyz/sdk/guides/trading.md): Authenticate an agent key, place limit and market orders, handle results, cancel resting orders, and understand pricing and fee rules for HIP-4 trading. - [Convert outcome tokens with split, merge, and negate](https://docs.outcome.xyz/sdk/guides/conversions.md): Call splitOutcome, mergeOutcome, mergeQuestion, and negateOutcome from the HIP-4 SDK to mint, redeem, and rotate prediction tokens off-orderbook. - [Stream real-time HIP-4 market data with WebSocket](https://docs.outcome.xyz/sdk/guides/real-time-data.md): Subscribe to live order book updates, price ticks, and trade streams over a shared WebSocket connection, with built-in auto-reconnect and easy teardown. - [Outcome support: Discord, email, and live chat](https://docs.outcome.xyz/support.md): Get help with Outcome through Discord, email, or in-app live chat. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.