PaymentChannelClaim class

Represents a PaymentChannelClaim xrpl.org/paymentchannelclaim.html_ transaction, which claims XRP from a payment channel xrpl.org/payment-channels.html_, adjusts channel's expiration, or both. This transaction can be used differently depending on the transaction sender's role in the specified channel.

Inheritance

Constructors

PaymentChannelClaim.new({required String account, required String channel, BigInt? balance, BigInt? amount, String? signature, String? publicKey, List<XRPLMemo>? memos = const [], String signingPubKey = "", int? ticketSequance, BigInt? fee, int? lastLedgerSequence, int? sequence, List<XRPLSigners>? signers, dynamic flags, int? sourceTag, List<String> multiSigSigners = const []})
PaymentChannelClaim.fromJson(Map<String, dynamic> json)

Properties

account String
finalinherited
accountTxId String?
finalinherited
amount BigInt?
amount The cumulative amount of XRP that has been authorized to deliver by the attached claim signature
final
balance BigInt?
balance The cumulative amount of XRP to have delivered through this channel after processing this claim
final
channel String
channel The unique ID of the payment channel, as a 64-character hexadecimal string
final
fee BigInt?
getter/setter pairinherited
flags → dynamic
finalinherited
hashCode int
The hash code for this object.
no setterinherited
lastLedgerSequence int?
getter/setter pairinherited
memos List<XRPLMemo>?
getter/setter pairinherited
multiSigSigners List<String>
getter/setter pairinherited
networkId int?
getter/setter pairinherited
publicKey String?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence int?
getter/setter pairinherited
signature String?
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.
getter/setter pair
signers List<XRPLSigners>?
getter/setter pairinherited
signingPubKey String
getter/setter pairinherited
sourceTag int?
finalinherited
ticketSequance int?
finalinherited
transactionType XRPLTransactionType
finalinherited
txnSignature String?
getter/setter pairinherited
validate String?
no setterinherited

Methods

getHash() String
inherited
isSigned() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFee(BigInt? newFee) → void
inherited
setLastLedgerSequence(int? newSequance) → void
inherited
setMultiSigSignature(List<XRPLSigners> sigs) → void
inherited
setNetworkId(int? network) → void
inherited
setSequence(int? newSequance) → void
inherited
setSignature(String? sig) → void
inherited
signForClaim() String
toBlob({bool forSigning = true}) String
inherited
toJson() Map<String, dynamic>
Converts the object to a JSON representation.
override
toMultisigBlob(String address) String
inherited
toString() String
A string representation of this object.
inherited
toXrpl() Map<String, dynamic>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited