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:
Gets a single UID and returns the corresponding market, the following table explains the details of the argument required for the above query:
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 |
---|---|---|---|---|
Params | Description | Type | Validation | Example |
---|---|---|---|---|
uid
Unique Identifier of a market
string
Required
Valid UUID
0435e5b6-635f-11ed-90a6-bb470175dfce
uid
A list of unique identifiers of markets separated by ,
string
Required
Valid UUID
0435e5b6-635f-11ed-90a6-bb470175dfce
The exposed transactions CLI commands and ticket payloads by the Market module.
The below transaction can be used to add a market to the blockchain.
The payload for the add-market transaction is as follows:
The values in the payload should be changed according to the data.
The below transaction can be used to update a market stored in the blockchain.
The payload for the update-market transaction is as follows:
The values in the payload should be changed according to the data.
The below transaction can be used to resolve a market to the blockchain.
The payload for the resolve-market transaction is as follows:
The values in the payload should be changed according to the data.
The below transaction can be used to update a market to the blockchain.
The payload for the update-market transaction is as follows:
The values in the payload should be changed according to the data.