Queries
Reward module CLI queries.
Query the Reward Params
Query all campaigns
Query campaign by uid
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
uid | uid of the campaign | string |
| 8483cc8a-d4c8-44ef-9f06-971ec7afe059 |
Query all Rewards
Query campaign by uid
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
uid | uid of the campaign | string |
| 8483cc8a-d4c8-44ef-9f06-971ec7afe059 |
Query rewards by address
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
address | address of the receiver | string |
| sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3 |
Query rewards by campaign
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
address | address of the reward receiver | string |
| sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3 |
category | category of the reward | int32 |
| 1 |
Query rewards by campaign
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
campaign | uid of the campaign | string |
| 8483cc8a-d4c8-44ef-9f06-971ec7afe059 |
Last updated