minAda method

BigInt minAda(
  1. int coinsPerUtxoSize
)

In the Babbage era, unspent transaction outputs will be required to contain at least coinsPerUtxoSize its epoch porotocol parameters variable in this case this output value should not be lower than result

Implementation

BigInt minAda(int coinsPerUtxoSize) {
  return BigInt.from((160 + serialize().length) * coinsPerUtxoSize);
}