PaymentChannelFund class
Represents a PaymentChannelFund <https://xrpl.org/paymentchannelfund.html>
_
transaction, adds additional XRP to an open payment channel <https://xrpl.org/payment-channels.html>
_, and optionally updates the
expiration time of the channel. Only the source address
of the channel can use this transaction.
- Inheritance
-
- Object
- XRPTransaction
- PaymentChannelFund
Constructors
-
PaymentChannelFund({required String account, required String channel, required BigInt amount, List<
XRPLMemo> ? memos = const [], int? ticketSequance, DateTime? expirationTime, String signingPubKey = "", int? sequence, String? fee, int? lastLedgerSequence}) -
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 immutablecancel_after
time. -
PaymentChannelFund.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- amount → BigInt
-
final
- channel → String
-
final
- expiration ↔ int?
-
latefinal
- 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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence ↔ int?
-
getter/setter pairinherited
-
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
-
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