Computes the implicit coin from the given transaction.
If rewardAccounts is provided, it will only count the deposits from
Certificates that belong to any of the reward accounts provided.
If dRepKeyHash is provided, it will only count the deposits from Certificates
that belong to the given dRep.
Is used by the input selector, and by the util to compute transaction summary/display.
The input selector doesn't filter by reward accounts because we are building the transaction
internally, so we know all the certificates are ours.
On the other hand, the transaction summary/display could receive a transaction from a dApp,
and can have mixed certificates (foreign and ours), so we need the list of reward accounts and drepKeyHash
to be able to distinguish the deposits that are going to our rewardAccounts from the ones that could
potentially go to a different reward accounts that we don't control (same with reclaims).
Computes the implicit coin from the given transaction. If rewardAccounts is provided, it will only count the deposits from Certificates that belong to any of the reward accounts provided. If dRepKeyHash is provided, it will only count the deposits from Certificates that belong to the given dRep.
Is used by the input selector, and by the util to compute transaction summary/display. The input selector doesn't filter by reward accounts because we are building the transaction internally, so we know all the certificates are ours. On the other hand, the transaction summary/display could receive a transaction from a dApp, and can have mixed certificates (foreign and ours), so we need the list of reward accounts and drepKeyHash to be able to distinguish the deposits that are going to our rewardAccounts from the ones that could potentially go to a different reward accounts that we don't control (same with reclaims).