πQuerying
List commonly used query commands below. Simply enter the following command in AOS for your query. You can print the results by Inbox[#Inbox].Data
after receiving responses.
Get Round Information
Get information about the current round, it will reply to a message with Reply-RoundInfo
If you wish to get information about a target round, you need to add a Round tag.
User Info
Users who have participated in betting can send the above message to get the latest user information. After sending the message, you will receive a reply message with Action as Reply-UserInfo. Use Inbox[#Inbox].Data
to print the message body.
Fetching Bets
Send the above message to query your betting information in the latest round. When you receive a reply with Action as Reply-UserBets , you can print the betting details using Inbox[#Inbox].Data
.
Add the Round tag to query your betting details in the target round.
The information of the pool
Send the above message to get the summary of the pool.
Fetching winners
Query the Winners of the completed round. The Round tag must be specified when querying, otherwise no information will be returned.
Last updated