Docs

Sections

Get startedBlockchainMarketsData & TruthAgents & AutomationSettlement & LiquidityBuild

Markets

  • Overview

Protocols

  • Somnia Markets
    • Contracts
    • Market making
    • Getting started
      • Documentation map
      • The exchange API
      • Binary markets
      • Spot markets
      • Perps
      • SomniaLend
      • Price feeds
      • Chains
      • Bridge
      • Chains walkthrough
      • Native RPC
      • Reactivity
      • Smart accounts
      • The engine (advanced)
      • Architecture
      • Migrating
      • Release notes
      • Tutorials
      • How-to guides
        • Configure for a network
        • Get testnet funds
        • Run a quoting loop
        • Detect when an order fills
        • Follow an account's open orders
        • Sign with a browser wallet
        • Trade through a smart account
        • Use the React hooks
        • Handle errors and reverts
        • Debug the SDK
      • Reference
      • Explanation
Somnia Explorer↗Platform site↗Explorer↗
Get startedBlockchainMarketsData & TruthAgents & AutomationSettlement & LiquidityBuild

Somnia Markets / TypeScript SDK

How-to guides

  • Configure for a network
  • Get testnet funds
  • Run a quoting loop
  • Detect when an order fills
  • Follow an account's open orders
  • Sign with a browser wallet
  • Trade through a smart account
  • Use the React hooks
  • Handle errors and reverts
  • Debug the SDK

PreviousPlace and cancel your first orderNextConfigure for a network