Skip to main content

Read the details of one round

POST 

/v2/a8r_provider.Round/Details

Call this endpoint to read the details of one round. Prediction Markets returns the event, the market, the selection, the money values and the state of that round.

The round_id is the same value that Prediction Markets sends in Round/BetWin and Round/Rollback.

Call this endpoint after each wallet request from Prediction Markets, and after you answer that request. Do not call it from inside your handler. Prediction Markets calls Round/BetWin to perform the debit. When you receive that request, the round is pending. Prediction Markets changes the state after you answer 200. From inside your handler you read pending and store incorrect data.

The endpoint answers for a round in each state. There is no "not ready" condition.

Required headers:

  • X-REQUEST-SIGN — HMAC-SHA256 hex signature of the raw request body

Request​

Responses​

The round exists.