PaymentChannelClaim constructor
channel
The unique ID of the payment channel, as a 64-character hexadecimal
string
balance
The cumulative amount of XRP to have delivered through this channel after
processing this claim
amount
The cumulative amount of XRP that has been authorized to deliver by the
attached claim signature
signature
The signature of the claim, as hexadecimal. This signature must be
verifiable for the this channel and the given public_key
and amount
values. May be omitted if closing the channel or if the sender of this
transaction is the source address of the channel; required otherwise.
publicKey
The public key that should be used to verify the attached signature. Must
match the PublicKey
that was provided when the channel was created.
Required if signature
is provided.
Implementation
PaymentChannelClaim({
required super.account,
required this.channel,
super.memos,
super.flags,
super.ticketSequance,
this.balance,
this.amount,
this.signature,
this.publicKey,
super.signingPubKey,
super.sequence,
super.fee,
super.lastLedgerSequence,
}) : super(transactionType: XRPLTransactionType.PAYMENT_CHANNEL_CLAIM);