SpendDescription constructor
SpendDescription({})
Create a new SpendDescription instance with specified parameters.
Implementation
SpendDescription(
{List<int>? valueCommitment,
List<int>? anchor,
List<int>? nullifier,
List<int>? rk,
List<int>? zkproof,
List<int>? spendAuthoritySignature})
: valueCommitment =
BytesUtils.tryToBytes(valueCommitment, unmodifiable: true),
anchor = BytesUtils.tryToBytes(anchor, unmodifiable: true),
nullifier = BytesUtils.tryToBytes(nullifier, unmodifiable: true),
rk = BytesUtils.tryToBytes(rk, unmodifiable: true),
spendAuthoritySignature =
BytesUtils.tryToBytes(spendAuthoritySignature, unmodifiable: true),
zkproof = BytesUtils.tryToBytes(zkproof, unmodifiable: true);