canSpendUTXO method

bool canSpendUTXO(
  1. WalletState state,
  2. String utxoKey
)

Check if UTXO can be spent (business rules)

Implementation

bool canSpendUTXO(WalletState state, String utxoKey) => UtxoLedger.isAvailable(state, utxoKey);