blockchain-http icon indicating copy to clipboard operation
blockchain-http copied to clipboard

Filter hotspot reward transactions by type

Open tyler-whitman opened this issue 3 years ago • 1 comments

Currently for hotspot activity we have a filter type for rewards. In the app we use that filter type to pull hotspot rewards and then we have to filter further for poc_witnesses rewards or data_credits rewards.

This is used for the hotspot checklist currently and more features are planned that will need specific hotspot reward types.

The problem with this is that for example for hotspot checklist if we need to get a recent data_credits reward we have to keep pulling pages of hotspot reward items until we find one with a data_credits item in it.

If we were able to filter hotspot rewards by a filter type such as rewards:data_credits then we could just pull the first element and know when the last activity of that specific reward type was.

tyler-whitman avatar Apr 08 '21 20:04 tyler-whitman

include validator reward transactions by type (CG rewards, eventually challenge creation)

cokes518 avatar Jul 20 '21 17:07 cokes518