PaymentChannelFund constructor
PaymentChannelFund({})
channel
The unique ID of the payment channel, as a 64-character hexadecimal
string.
amount
The amount of XRP, in drops, to add to the channel.
expiration A new mutable expiration time to set for the channel,
This must be later than the existing expiration time of the
channel or later than the current time plus the settle delay of the channel.
This is separate from the immutable cancel_after
time.
Implementation
PaymentChannelFund({
required super.account,
required this.channel,
required this.amount,
super.memos,
super.ticketSequance,
DateTime? expirationTime,
super.signingPubKey,
super.sequence,
super.fee,
super.lastLedgerSequence,
}) : super(transactionType: XRPLTransactionType.PAYMENT_CHANNEL_FUND) {
if (expirationTime != null) {
expiration = datetimeToRippleTime(expirationTime);
} else {
expiration = null;
}
}