Queries
Bet module CLI queries.
Queries of this module can be used to get the data of bets placed in the blockchain and params. The following queries have been exposed by the Bet module:
Queries of this module can be used to get the data of bets placed in the blockchain and params. The following queries have been exposed by the Bet module:
Query the bet module Params
Query the list of all the bets
Query the list of all the bets of a bettor
The below table explains the details of the argument required for the above query:
creator
creator account address
string
Required
Valid Address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3
Query the list of all active bets of a market
The below table explains the details of the argument required for the above query:
uid
UID of market
string
Required
Valid UUID
0435e5b6-635f-11ed-90a6-bb470175dfce
Query get specific bet
The below table explains the details of the argument required for the above query:
creator
creator account address
string
Required
Valid Address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3
UID
UUID of the bet
string
Required
Valid UUID
0435e5b6-635f-11ed-90a6-bb470175dfce
Query bets by bettor and UID pair list
The below table explains the details of the argument required for the above query:
The creator:uid pair is separated by a colon :
and each pair is separated by a comma ,
from other pairs.
creator:uid
creator account address and UID pair list
string
Required
Valid Address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3:0435e5b6-635f-11ed-90a6-bb470175dfce
Last updated