Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ashisherc committed Dec 16, 2024
1 parent 6cb3c0a commit 9366f27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/transaction/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,12 @@ export class Transaction {
);
}

/**
* This method scans the certificates added in the transaction to calculate
* additional ADA available in inputs as part of the deposit refund.
* Essentially ADA to be considered as additional input deu to deposit refunds.
* @returns additional ADA available as input
*/
getAdditionalInputAda(): BigNumber {
const certDeposit = _.reduce(
this.certificates,
Expand Down

0 comments on commit 9366f27

Please sign in to comment.