PaymentChannelCreate class

Represents a PaymentChannelCreate transaction, which creates a payment channel and funds it with XRP. The sender of this transaction is the "source address" of the payment channel.

Inheritance

Constructors

PaymentChannelCreate.new({required String account, required BigInt amount, required String destination, required int settleDelay, required String publicKey, DateTime? cancelAfterTime, int? destinationTag, 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 []})
PaymentChannelCreate.fromJson(Map<String, dynamic> json)

Properties

account String
finalinherited
accountTxId String?
finalinherited
amount BigInt
amount The amount of XRP, in drops, to set aside in this channel.
final
cancelAfter int?
cancelAfter An immutable expiration time for the channel. The channel can be closed sooner than this but cannot remain open later than this time.
latefinal
destination String
destination can receive XRP from this channel, also known as the "destination address" of the channel. Cannot be the same as the sender.
final
destinationTag int?
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 of the key pair that the source will use to authorize claims against this channel, as hexadecimal. This can be any valid secp256k1 or Ed25519 public key.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence int?
getter/setter pairinherited
settleDelay int
settleDelay The amount of time, in seconds, the source address must wait between requesting to close the channel and fully closing it.
final
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
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