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
| Step | Who calls | Call | What happens |
|---|---|---|---|
| 1 | you → us | POST /markets/start | You launch a player. We answer with the address of the player app. |
| 2 | us → you | /authenticate | The player app opens. You confirm the player and set the bet limits. |
| 3 | us → you | /balance | Each time the player app shows the balance. |
| 4 | us → you | /bet | A player buys or places a limit BUY order. You take the stake. |
| 5 | us → you | /result, /refund | A sell, a fill, a market’s payout, or money given back. You credit the player. |
| 6 | you → us | POST /sessions/close | You end the player session, if you want to. |
| 7 | us → you | /session/expired | A 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
- Getting started: your credentials, the base URLs and the sandbox.
- Signatures, then Launch & close and Wallet callbacks.
- Going live when the sandbox works end to end.