PaymentChannelCreate class
Represents a PaymentChannelCreate <https://xrpl.org/paymentchannelcreate.html>
_ transaction, which creates a
payment channel <https://xrpl.org/payment-channels.html>
_ and funds it with
XRP. The sender of this transaction is the "source address" of the payment
channel.
- Inheritance
-
- Object
- XRPTransaction
- PaymentChannelCreate
Constructors
-
PaymentChannelCreate({required String account, required BigInt amount, required String destination, required int settleDelay, required String publicKey, List<
XRPLMemo> ? memos = const [], int? ticketSequance, DateTime? cancelAfterTime, int? destinationTag, String signingPubKey = "", int? sequence, String? fee, int? lastLedgerSequence}) -
amount
The amount of XRP, in drops, to set aside in this channel.destination
can receive XRP from this channel, also known as the "destination address" of the channel. Cannot be the same as the sender.settleDelay
The amount of time, in seconds, the source address must wait between requesting to close the channel and fully closing it.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.cancelAfterTime
An immutable expiration time for the channel. The channel can be closed sooner than this but cannot remain open later than this time. -
PaymentChannelCreate.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- amount → BigInt
-
final
- cancelAfter ↔ int?
-
latefinal
- destination → String
-
final
- destinationTag → int?
-
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
- settleDelay → int
-
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
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