fromUtxo

fun fromUtxo(utxo: Utxo, state: UtxoState = UtxoState.AVAILABLE): UnshieldedUtxoEntity

Convert domain model to entity.

CRITICAL: The Utxo must have transactionHash set via withTransactionHash() before calling this method! The identifier uses transactionHash, not intentHash.