EscrowCreate class
Represents an EscrowCreate transaction, which locks up XRP until a specific time or condition is met.
- Inheritance
-
- Object
- XRPLBase
- XRPTransaction
- EscrowCreate
Constructors
-
EscrowCreate.new({required String account, required BigInt amount, required String destination, DateTime? cancelAfterTime, DateTime? finishAfterTime, String? condition, String? 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 []}) -
EscrowCreate.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- amount → BigInt
-
amount Amount of XRP, in drops, to deduct from the sender's balance and set aside in escrow
final
- cancelAfter ↔ int?
-
cancelAfter when this escrow expires.
This value is immutable; the funds can only be returned the sender after
this time.
latefinal
- condition → String?
-
condition Hex value representing a
PREIMAGE-SHA-256 crypto-condition
The funds can only be delivered to the recipient if this condition is
fulfilled.
final
- destination → String
-
destination The address that should receive the escrowed XRP when the time or condition is met
final
- destinationTag → String?
-
final
- fee ↔ BigInt?
-
getter/setter pairinherited
- finishAfter ↔ int?
-
finishAfter when the escrowed XRP can
be released to the recipient. This value is immutable; the funds cannot
move until this time is reached.
latefinal
- 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
- 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
- validate → String?
-
no setteroverride
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