Queries
Market module CLI queries
Queries of this module can be used to get the data of markets and params. The following queries have been exposed by the market module:
Query the Params
Query all the markets
Query a market by uid
Gets a single UID and returns the corresponding market, the following table explains the details of the argument required for the above query:
Params
Description
Type
Validation
Example
uid
Unique Identifier of a market
string
Required
Valid UUID
0435e5b6-635f-11ed-90a6-bb470175dfce
Query specific markets by UID list
Gets a list of comma-separated UID and returns the list of markets. The below table explains the details of the argument required for the above query:
Params
Description
Type
Validation
Example
uid
A list of unique identifiers of markets separated by ,
string
Required
Valid UUID
0435e5b6-635f-11ed-90a6-bb470175dfce
Last updated