Open roccomuso opened 4 years ago
It currently doesn't have a mark. From the databases standpoint, delegation and a normal transaction are the same. We'll be adding a rewards/delegation/withdrawal history component to adalite, please check staking-history branch in this repo.
That would be a lot useful, thanks
Right now its working, the rewards are not pushed to cardano-db-sync by IOHK yet. So you can checkout to that branch if you need it ASAP. /delegationHistory and /withdrawalHistory should be functioning. When rewards are pushed by db-sync, /rewardHistory will also work
How to distinguish between a normal tx and a delegation tx from the results returned by
/api/v2/txs/history
orapi/bulk/addresses/summary
?This is supposed to be a delegation tx but there's nothing marking it as such: