CheckCreate constructor
CheckCreate({})
destination
The address of the account that can cash the Check
sendMax
Maximum amount of source token the Check is allowed to debit the
sender, including transfer fees on non-XRP tokens. The Check can only
credit the destination with the same token (from the same issuer, for
non-XRP tokens).
expiration Time after which the Check is no longer valid
invoiceId
Arbitrary 256-bit hash representing a specific reason or identifier for
this Check.
Implementation
CheckCreate({
required super.account,
required this.destination,
required this.sendMax,
super.memos,
super.ticketSequance,
this.destinationTag,
DateTime? expirationTime,
this.invoiceId,
super.signingPubKey,
super.sequence,
super.fee,
super.lastLedgerSequence,
}) : super(transactionType: XRPLTransactionType.CHECK_CREATE) {
if (expirationTime != null) {
expiration = datetimeToRippleTime(expirationTime);
} else {
expiration = null;
}
}