Start a demo game session
POST/v2/a8r_provider.Launcher/Demo
Call this endpoint to start a new game session in demo mode. Demo mode does not use real money.
Prediction Markets returns a URL in the response. Load this URL in an iframe on the casino page. The game runs in an iframe only. It does not work as a top-level page.
Required headers:
X-REQUEST-SIGN— HMAC-SHA256 hex signature of the raw request body
Request
Responses
- 200
- 400
- 403
- 429
- 5XX
Prediction Markets created the game session.
Prediction Markets cannot read the request. The body is not valid, or a required field is missing.
The signature is not correct. The X-REQUEST-SIGN header is missing, or it does not match the signature of the raw request body.
Too many requests from your IP address. The limit is 5 requests each second for each IP address. The API gateway makes this response. The body is different from the body of the other error responses.
Prediction Markets has an internal error.