XChainClaim class
Represents a XChainClaim transaction. The XChainClaim transaction completes a cross-chain transfer of value. It allows a user to claim the value on the destination chain - the equivalent of the value locked on the source chain.
- Inheritance
-
- Object
- XRPLBase
- XRPTransaction
- XChainClaim
Constructors
-
XChainClaim.new({required String account, required XChainBridge xchainBridge, required int xchainClaimId, required String destination, int? destinationTag, required CurrencyAmount amount, 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 []}) -
XChainClaim.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- amount → CurrencyAmount
-
The amount to claim on the destination chain. This must match the amount
attested to on the attestations associated with this XChainClaimID.
This field is required.
final
- destination → String
-
The destination account on the destination chain. It must exist or the
transaction will fail. However, if the transaction fails in this case, the
sequence number and collected signatures won't be destroyed, and the
transaction can be rerun with a different destination. This field is
required.
final
- destinationTag → int?
-
An integer destination tag.
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
- 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
- xchainBridge → XChainBridge
-
The bridge to use for the transfer. This field is required.
final
- xchainClaimId → int
-
The unique integer ID for the cross-chain transfer that was referenced in
the corresponding XChainCommit transaction. This field is required.
final
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