EscrowFinish constructor
EscrowFinish({})
owner
The source account that funded the Escrow.
offerSequence
Transaction sequence (or Ticket number) of the EscrowCreate transaction that created the Escrow.
condition
The previously-supplied PREIMAGE-SHA-256 crypto-condition
of the Escrow, if any, as hexadecimal.
fulfillment
The previously-supplied PREIMAGE-SHA-256 crypto-condition fulfillment
of the Escrow, if any, as hexadecimal.
Implementation
EscrowFinish({
required super.account,
required this.owner,
required this.offerSequence,
super.memos,
super.ticketSequance,
this.condition,
this.fulfillment,
super.signingPubKey,
super.sequence,
super.fee,
super.lastLedgerSequence,
}) : assert(() {
if ((condition == null && fulfillment != null) ||
(condition != null && fulfillment == null)) {
return false;
}
return true;
}(), "condition and fulfillment must both be specified."),
super(transactionType: XRPLTransactionType.ESCROW_FINISH);