PaymentChannelClaim class
Represents a PaymentChannelClaim <https://xrpl.org/paymentchannelclaim.html>
_
transaction, which claims XRP from a payment channel <https://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
-
- Object
- XRPTransaction
- PaymentChannelClaim
Constructors
-
PaymentChannelClaim({required String account, required String channel, List<
XRPLMemo> ? memos = const [], dynamic flags = 0, int? ticketSequance, BigInt? balance, BigInt? amount, String? signature, String? publicKey, String signingPubKey = "", int? sequence, String? fee, int? lastLedgerSequence}) -
channel
The unique ID of the payment channel, as a 64-character hexadecimal stringbalance
The cumulative amount of XRP to have delivered through this channel after processing this claimamount
The cumulative amount of XRP that has been authorized to deliver by the attached claim signaturesignature
The signature of the claim, as hexadecimal. This signature must be verifiable for the this channel and the givenpublic_key
andamount
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 thePublicKey
that was provided when the channel was created. Required ifsignature
is provided. -
PaymentChannelClaim.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- amount → BigInt?
-
final
- balance → BigInt?
-
final
- channel → String
-
final
- fee ↔ String?
-
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> -
finalinherited
- networkId ↔ int?
-
getter/setter pairinherited
- publicKey → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence ↔ int?
-
getter/setter pairinherited
- signature ↔ String?
-
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
Methods
-
getHash(
) → String -
inherited
-
isSigned(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFee(
String? newFee) → void -
inherited
-
setLastLedgerSequence(
int? newSequance) → void -
inherited
-
setMultiSigSignatur(
List< XRPLSigners> sigs) → void -
inherited
-
setNetworkId(
int? network) → void -
inherited
-
setSequence(
int? newSequance) → void -
inherited
-
setSignature(
String? sig) → void -
inherited
-
signForClain(
) → String -
toBlob(
{bool forSigning = true}) → String -
inherited
-
toJson(
) → Map< String, dynamic> -
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