Skip to Content
Overview

Integration guide

How an operator integrates the Argos prediction-market provider: wire protocol v1.1, its signatures, its wallet callbacks and the way to go live.

How the integration works

StepWho callsCallWhat happens
1you → usPOST /markets/startYou launch a player. We answer with the address of the player app.
2us → you/authenticateThe player app opens. You confirm the player and set the bet limits.
3us → you/balanceEach time the player app shows the balance.
4us → you/betA player buys or places a limit BUY order. You take the stake.
5us → you/result, /refundA sell, a fill, a market’s payout, or money given back. You credit the player.
6you → usPOST /sessions/closeYou end the player session, if you want to.
7us → you/session/expiredA player session ended, for any reason.

Every call in both directions is signed. Which call each trade and market event sends is on Market lifecycle.

Who holds the money

Your wallet holds your players’ balances. We ask your wallet for a balance, take a stake with /bet, and pay with /result and /refund. Each money call carries a reference; apply each one once.

Protocol version

This guide describes wire protocol v1.1 (2026-MM-DD (pending product-owner review)). If you built against v1.0, read Changes from v1.0.

Where to start

  1. Getting started: your credentials, the base URLs and the sandbox.
  2. Signatures, then Launch & close and Wallet callbacks.
  3. Going live when the sandbox works end to end.