1:"$Sreact.fragment"
2:I[1285,[],""]
3:I[1329,[],""]
6:I[7880,[],"OutletBoundary"]
8:I[9233,[],"AsyncMetadataOutlet"]
a:I[7880,[],"ViewportBoundary"]
c:I[7880,[],"MetadataBoundary"]
d:"$Sreact.suspense"
f:I[7988,[],""]
:HL["/_next/static/css/2d82b615fcca1590.css","style"]
0:{"P":null,"b":"8rdRd4jiv8w5Nd_3R9SBT","p":"","c":["","en"],"i":false,"f":[[["",{"children":[["lang","en","d"],{"children":[["mdxPath","","oc"],{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true]}],["",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["lang","en","d"],["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2d82b615fcca1590.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],"$L4"]}],{"children":[["mdxPath","","oc"],["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":["$L5",null,["$","$L6",null,{"children":["$L7",["$","$L8",null,{"promise":"$@9"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$La",null,{"children":"$Lb"}],null],["$","$Lc",null,{"children":["$","div",null,{"hidden":true,"children":["$","$d",null,{"fallback":null,"children":"$Le"}]}]}]]}],false]],"m":"$undefined","G":["$f",[]],"s":false,"S":true}
10:I[1181,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"ThemeConfigProvider"]
11:I[4455,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"LastUpdated"]
12:I[2804,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","793","static/chunks/793-048cfffd00b0200e.js","160","static/chunks/app/%5Blang%5D/layout-ed65f2301a172f6f.js"],"Search"]
13:I[8755,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","793","static/chunks/793-048cfffd00b0200e.js","160","static/chunks/app/%5Blang%5D/layout-ed65f2301a172f6f.js"],"ThemeProvider"]
14:I[2084,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"SkipNavLink"]
15:I[3273,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"ConfigProvider"]
16:I[856,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],""]
4:["$","html",null,{"lang":"en","dir":"ltr","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$undefined",["$","style",null,{"children":":root {\n  --nextra-primary-hue: 212deg;\n  --nextra-primary-saturation: 100%;\n  --nextra-primary-lightness: 45%;\n  --nextra-bg: 250,250,250;\n  --nextra-content-width: 90rem;\n}\n.dark {\n  --nextra-primary-hue: 204deg;\n  --nextra-primary-saturation: 100%;\n  --nextra-primary-lightness: 55%;\n  --nextra-bg: 17,17,17;\n}\n::selection {\n  background: hsla(var(--nextra-primary-hue),var(--nextra-primary-saturation),var(--nextra-primary-lightness),.3);\n}\nhtml {\n  background: rgb(var(--nextra-bg));\n}"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"rgb(250,250,250)"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"rgb(17,17,17)"}],"$undefined"]}],["$","body",null,{"children":["$","$L10",null,{"value":{"copyPageButton":true,"darkMode":true,"docsRepositoryBase":"https://github.com/shuding/nextra","editLink":null,"feedback":{"content":null,"labels":"feedback"},"i18n":[{"locale":"en","name":"English"},{"locale":"tr","name":"Türkçe"}],"lastUpdated":["$","$L11",null,{}],"navigation":{"next":true,"prev":true},"search":["$","$L12",null,{}],"sidebar":{"defaultMenuCollapseLevel":1,"defaultOpen":true,"toggleButton":true},"themeSwitch":{"dark":"Dark","light":"Light","system":"System"},"toc":{"backToTop":"Back to top","float":true,"title":"On this page"}},"children":["$","$L13",null,{"attribute":"class","defaultTheme":"system","disableTransitionOnChange":true,"storageKey":"theme","children":[["$","$L14",null,{}],"$undefined",["$","$L15",null,{"pageMap":[{"data":{"index":{"title":"Overview"},"getting-started":{"title":"Getting started"},"signatures":{"title":"Signatures"},"launch-and-close":{"title":"Launch & close"},"wallet-callbacks":{"title":"Wallet callbacks"},"market-lifecycle":{"title":"Market lifecycle"},"errors":{"title":"Errors"},"going-live":{"title":"Going live"},"changes-from-v1-0":{"title":"Changes from v1.0"}}},{"name":"index","route":"/","frontMatter":{"title":"Integration guide","filePath":"content/en/index.mdx"},"title":"Overview"},{"name":"getting-started","route":"/getting-started","frontMatter":{"title":"Getting started","filePath":"content/en/getting-started.mdx"},"title":"Getting started"},{"name":"signatures","route":"/signatures","frontMatter":{"title":"Signatures","filePath":"content/en/signatures.mdx"},"title":"Signatures"},{"name":"launch-and-close","route":"/launch-and-close","frontMatter":{"title":"Launch & close","filePath":"content/en/launch-and-close.mdx"},"title":"Launch & close"},{"name":"wallet-callbacks","route":"/wallet-callbacks","frontMatter":{"title":"Wallet callbacks","filePath":"content/en/wallet-callbacks.mdx"},"title":"Wallet callbacks"},{"name":"market-lifecycle","route":"/market-lifecycle","frontMatter":{"title":"Market lifecycle","filePath":"content/en/market-lifecycle.mdx"},"title":"Market lifecycle"},{"name":"errors","route":"/errors","frontMatter":{"title":"Errors","filePath":"content/en/errors.mdx"},"title":"Errors"},{"name":"going-live","route":"/going-live","frontMatter":{"title":"Going live","filePath":"content/en/going-live.mdx"},"title":"Going live"},{"name":"changes-from-v1-0","route":"/changes-from-v1-0","frontMatter":{"title":"Changes from v1.0","filePath":"content/en/changes-from-v1-0.mdx"},"title":"Changes from v1.0"}],"navbar":["$","header",null,{"className":"nextra-navbar x:sticky x:top-0 x:z-30 x:w-full x:bg-transparent x:print:hidden x:max-md:[.nextra-banner:not([class$=hidden])~&]:top-(--nextra-banner-height)","children":[["$","div",null,{"className":"nextra-navbar-blur x:absolute x:-z-1 x:size-full nextra-border x:border-b x:backdrop-blur-md x:bg-nextra-bg/70"}],["$","nav",null,{"style":{"height":"var(--nextra-navbar-height)"},"className":"x:mx-auto x:flex x:max-w-(--nextra-content-width) x:items-center x:gap-4 x:pl-[max(env(safe-area-inset-left),1.5rem)] x:pr-[max(env(safe-area-inset-right),1.5rem)] x:justify-end","children":[["$","$L16",null,{"href":"/","className":"x:flex x:items-center x:me-auto x:transition-opacity x:focus-visible:nextra-focus x:hover:opacity-75","aria-label":"Home page","children":"$L17"}],"$L18"]}]]}],"footer":"$L19","children":["$L1a","$L1b"]}]]}]}]}]]}]
1c:I[9471,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"ClientNavbar"]
1d:I[3585,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"Switchers"]
1e:I[9214,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"LocaleSwitch"]
1f:I[7475,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"ThemeSwitch"]
20:I[6224,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"MobileNav"]
21:I[9359,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"NotFoundLink"]
22:I[55,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"TOCProvider"]
23:I[6224,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"Sidebar"]
24:I[9699,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"ClientWrapper"]
26:I[6304,["259","static/chunks/d27283b4-dd922588b80b0ac4.js","654","static/chunks/654-660b10b1c480a7ba.js","411","static/chunks/411-d78e98308eddb942.js","466","static/chunks/app/%5Blang%5D/%5B%5B...mdxPath%5D%5D/page-f6dab9393ddf1b87.js"],"HeadingAnchor"]
17:["$","span",null,{"style":{"fontWeight":700,"fontSize":"1.05rem"},"children":["Argos ",["$","span",null,{"style":{"opacity":0.55,"fontWeight":400},"children":"Prediction Docs"}]]}]
18:["$","$L1c",null,{"className":"","children":["$undefined","$undefined","$undefined"]}]
19:["$","div",null,{"className":"x:bg-gray-100 x:pb-[env(safe-area-inset-bottom)] x:dark:bg-neutral-900 x:print:bg-transparent","children":[["$","$L1d",null,{"children":["$","div",null,{"className":"x:mx-auto x:flex x:max-w-(--nextra-content-width) x:gap-2 x:py-2 x:px-4","children":[["$","$L1e",null,{}],["$","$L1f",null,{}]]}]}],["$","hr",null,{"className":"nextra-border"}],["$","footer",null,{"className":"x:mx-auto x:flex x:max-w-(--nextra-content-width) x:justify-center x:py-12 x:text-gray-600 x:dark:text-gray-400 x:md:justify-start x:pl-[max(env(safe-area-inset-left),1.5rem)] x:pr-[max(env(safe-area-inset-right),1.5rem)]","children":["© ",2026," ","Argos Prediction"]}]]}]
1a:["$","$L20",null,{}]
1b:["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"x:flex x:flex-col x:justify-center x:items-center x:h-[calc(100dvh-var(--nextra-navbar-height))]","children":["No such page — that path is not part of these docs.",["$","$L21",null,{"labels":"bug","children":"Submit an issue about broken link"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]
25:T820,# 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`](/en/launch-and-close#launch) | You launch a player. We answer with the address of the player app. |
| 2 | us → you | [`/authenticate`](/en/wallet-callbacks#authenticate) | The player app opens. You confirm the player and set the bet limits. |
| 3 | us → you | [`/balance`](/en/wallet-callbacks#balance) | Each time the player app shows the balance. |
| 4 | us → you | [`/bet`](/en/wallet-callbacks#bet) | A player buys or places a limit BUY order. You take the stake. |
| 5 | us → you | [`/result`](/en/wallet-callbacks#result), [`/refund`](/en/wallet-callbacks#refund) | A sell, a fill, a market's payout, or money given back. You credit the player. |
| 6 | you → us | [`POST /sessions/close`](/en/launch-and-close#close-a-session) | You end the player session, if you want to. |
| 7 | us → you | [`/session/expired`](/en/wallet-callbacks#sessionexpired) | A player session ended, for any reason. |

Every call in both directions is [signed](/en/signatures). Which call each trade and market event sends is on [Market lifecycle](/en/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](/en/changes-from-v1-0).

## Where to start

1. [Getting started](/en/getting-started): your credentials, the base URLs and the sandbox.
2. [Signatures](/en/signatures), then [Launch & close](/en/launch-and-close) and [Wallet callbacks](/en/wallet-callbacks).
3. [Going live](/en/going-live) when the sandbox works end to end.5:["$","div",null,{"className":"x:mx-auto x:flex x:max-w-(--nextra-content-width)","children":["$","$L22",null,{"value":[{"value":"How the integration works","id":"how-the-integration-works","depth":2},{"value":"Who holds the money","id":"who-holds-the-money","depth":2},{"value":"Protocol version","id":"protocol-version","depth":2},{"value":"Where to start","id":"where-to-start","depth":2}],"children":[["$","$L23",null,{}],["$","$L24",null,{"metadata":{"title":"Integration guide","filePath":"content/en/index.mdx"},"bottomContent":"$undefined","sourceCode":"$25","children":[["$","div",null,{"id":"nextra-skip-nav"}],["$","main",null,{"data-pagefind-body":true,"children":[["$","h1",null,{"id":"$undefined","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-bold x:mt-2 x:text-4xl","children":["Integration guide","$undefined"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"How an operator integrates the Argos prediction-market provider: wire protocol v1.1, its signatures, its wallet callbacks and the way to go live."}],"\n",["$","h2",null,{"id":"how-the-integration-works","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["How the integration works",["$","$L26",null,{"id":"how-the-integration-works"}]]}],"\n",["$","div",null,{"style":{"overflowX":"auto","maxWidth":"100%"},"children":["$","table",null,{"children":[["$","thead",null,{"children":["$","tr",null,{"children":["$L27","$L28","$L29","$L2a"],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}]}],"$L2b"]}]}],"\n","$L2c","\n","$L2d","\n","$L2e","\n","$L2f","\n","$L30","\n","$L31","\n","$L32"]}]]}]]}]}]
27:["$","th",null,{"children":"Step","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:font-semibold x:dark:border-gray-600"}]
28:["$","th",null,{"children":"Who calls","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:font-semibold x:dark:border-gray-600"}]
29:["$","th",null,{"children":"Call","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:font-semibold x:dark:border-gray-600"}]
2a:["$","th",null,{"children":"What happens","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:font-semibold x:dark:border-gray-600"}]
2b:["$","tbody",null,{"children":[["$","tr",null,{"children":[["$","td",null,{"children":"1","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"you → us","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":["$","$L16",null,{"href":"/en/launch-and-close#launch","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"POST /markets/start"}]}],"className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"You launch a player. We answer with the address of the player app.","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}]],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}],["$","tr",null,{"children":[["$","td",null,{"children":"2","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"us → you","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":["$","$L16",null,{"href":"/en/wallet-callbacks#authenticate","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/authenticate"}]}],"className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"The player app opens. You confirm the player and set the bet limits.","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}]],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}],["$","tr",null,{"children":[["$","td",null,{"children":"3","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"us → you","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":["$","$L16",null,{"href":"/en/wallet-callbacks#balance","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/balance"}]}],"className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"Each time the player app shows the balance.","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}]],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}],["$","tr",null,{"children":[["$","td",null,{"children":"4","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"us → you","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":["$","$L16",null,{"href":"/en/wallet-callbacks#bet","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/bet"}]}],"className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"A player buys or places a limit BUY order. You take the stake.","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}]],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}],"$L33","$L34","$L35"]}]
2c:["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Every call in both directions is ",["$","$L16",null,{"href":"/en/signatures","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"signed"}],". Which call each trade and market event sends is on ",["$","$L16",null,{"href":"/en/market-lifecycle","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"Market lifecycle"}],"."]}]
2d:["$","h2",null,{"id":"who-holds-the-money","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["Who holds the money",["$","$L26",null,{"id":"who-holds-the-money"}]]}]
2e:["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Your wallet holds your players’ balances. We ask your wallet for a balance, take a stake with ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/bet"}],", and pay with ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/result"}]," and ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/refund"}],". Each money call carries a ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"reference"}],"; apply each one once."]}]
2f:["$","h2",null,{"id":"protocol-version","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["Protocol version",["$","$L26",null,{"id":"protocol-version"}]]}]
30:["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["This guide describes wire protocol ",["$","strong",null,{"children":"v1.1"}]," (2026-MM-DD (pending product-owner review)). If you built against v1.0, read ",["$","$L16",null,{"href":"/en/changes-from-v1-0","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"Changes from v1.0"}],"."]}]
31:["$","h2",null,{"id":"where-to-start","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["Where to start",["$","$L26",null,{"id":"where-to-start"}]]}]
32:["$","ol",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-decimal x:ms-6","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","$L16",null,{"href":"/en/getting-started","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"Getting started"}],": your credentials, the base URLs and the sandbox."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","$L16",null,{"href":"/en/signatures","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"Signatures"}],", then ",["$","$L16",null,{"href":"/en/launch-and-close","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"Launch & close"}]," and ",["$","$L16",null,{"href":"/en/wallet-callbacks","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"Wallet callbacks"}],"."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","$L16",null,{"href":"/en/going-live","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":"Going live"}]," when the sandbox works end to end."]}],"\n"]}]
33:["$","tr",null,{"children":[["$","td",null,{"children":"5","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"us → you","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":[["$","$L16",null,{"href":"/en/wallet-callbacks#result","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/result"}]}],", ",["$","$L16",null,{"href":"/en/wallet-callbacks#refund","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/refund"}]}]],"className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"A sell, a fill, a market’s payout, or money given back. You credit the player.","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}]],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}]
34:["$","tr",null,{"children":[["$","td",null,{"children":"6","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"you → us","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":["$","$L16",null,{"href":"/en/launch-and-close#close-a-session","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"POST /sessions/close"}]}],"className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"You end the player session, if you want to.","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}]],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}]
35:["$","tr",null,{"children":[["$","td",null,{"children":"7","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"us → you","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":["$","$L16",null,{"href":"/en/wallet-callbacks#sessionexpired","prefetch":"$undefined","className":"x:focus-visible:nextra-focus x:text-primary-600 x:underline x:hover:no-underline x:decoration-from-font x:[text-underline-position:from-font]","children":["$","code",null,{"className":"nextra-code","dir":"ltr","children":"/session/expired"}]}],"className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}],["$","td",null,{"children":"A player session ended, for any reason.","className":"x:m-0 x:border x:border-gray-300 x:px-4 x:py-2 x:dark:border-gray-600"}]],"className":"x:m-0 x:border-t x:border-gray-300 x:p-0 x:dark:border-gray-600 x:even:bg-gray-100 x:even:dark:bg-gray-600/20"}]
b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
7:null
9:{"metadata":[["$","title","0",{"children":"Integration guide — Argos Prediction"}],["$","meta","1",{"name":"description","content":"The integration guide: how an operator integrates the Argos prediction-market provider."}],["$","meta","2",{"name":"robots","content":"noindex, nofollow"}]],"error":null,"digest":"$undefined"}
e:"$9:metadata"
