get https://api.dev.coinfx.network/v1/reward/event-config
The CFX Rewards Engine supports the automation of reward issuance based off certain CFX Network events. This endpoint allows you to search for existing reward event configurations.
The search can be filtered to return either ACTIVE
or DISABLED
configurations. Each configuration returned will have a status
(ACTIVE or DISABLED), an event
name, and an array of reward rules
. Rules are configured by specifying:
- The
status
of the rule (ACTIVE or DISABLED) - The
event
the rule is triggered by - An array of reward
rules
to apply when the event occurs, which each specify a rewardamount
,currency
and amatcher
to filter the event more specifically.
Please see the Create Reward Event Configuration endpoint for more information.