AnchorTransaction class

Represents an anchor transaction

Inheritance

Constructors

AnchorTransaction(String id, String kind, String status, int statusEta, String moreInfoUrl, String amountIn, String amountOut, String amountFee, String from, String to, String externalExtra, String externalExtraText, String depositMemo, String depositMemoType, String withdrawAnchorAccount, String withdrawMemo, String withdrawMemoType, String startedAt, String completedAt, String stellarTransactionId, String externalTransactionId, String message, bool refunded, String requiredInfoMessage, Map<String, AnchorField> requiredInfoUpdates, String claimableBalanceId)
AnchorTransaction.fromJson(Map<String, dynamic> json)
factory

Properties

amountFee String
(optional) Amount of fee charged by anchor.
read / write
amountIn String
(optional) Amount received by anchor at start of transaction as a string with up to 7 decimals. Excludes any fees charged before the anchor received the funds.
read / write
amountOut String
(optional) Amount sent by anchor to user at end of transaction as a string with up to 7 decimals. Excludes amount converted to XLM to fund account and any external fees.
read / write
claimableBalanceId String
(optional) ID of the Claimable Balance used to send the asset initially requested. Only relevant for deposit transactions.
read / write
completedAt String
(optional) Completion date and time of transaction - UTC ISO 8601 string.
read / write
depositMemo String
(optional) If this is a deposit, this is the memo (if any) used to transfer the asset to the to Stellar address
read / write
depositMemoType String
(optional) Type for the deposit_memo.
read / write
externalExtra String
(optional) Extra information for the external account involved. It could be a bank routing number, BIC, or store number for example.
read / write
externalExtraText String
(optional) Text version of external_extra. This is the name of the bank or store
read / write
externalTransactionId String
(optional) ID of transaction on external network that either started the deposit or completed the withdrawal.
read / write
from String
(optional) Sent from address (perhaps BTC, IBAN, or bank account in the case of a deposit, Stellar address in the case of a withdrawal).
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Unique, anchor-generated id for the deposit/withdrawal.
read / write
kind String
deposit or withdrawal.
read / write
message String
(optional) Human readable explanation of transaction status, if needed.
read / write
moreInfoUrl String
(optional) A URL the user can visit if they want more information about their account / status.
read / write
rateLimitLimit int
read / write, inherited
rateLimitRemaining int
read / write, inherited
rateLimitReset int
read / write, inherited
refunded bool
(optional) Should be true if the transaction was refunded. Not including this field means the transaction was not refunded.
read / write
requiredInfoMessage String
(optional) A human-readable message indicating any errors that require updated information from the user.
read / write
requiredInfoUpdates Map<String, AnchorField>
(optional) A set of fields that require update from the user described in the same format as /info. This field is only relevant when status is pending_transaction_info_update.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startedAt String
(optional) Start date and time of transaction - UTC ISO 8601 string.
read / write
status String
Processing status of deposit/withdrawal.
read / write
statusEta int
(optional) Estimated number of seconds until a status change is expected.
read / write
stellarTransactionId String
(optional) transaction_id on Stellar network of the transfer that either completed the deposit or started the withdrawal.
read / write
to String
(optional) Sent to address (perhaps BTC, IBAN, or bank account in the case of a withdrawal, Stellar address in the case of a deposit).
read / write
withdrawAnchorAccount String
(optional) If this is a withdrawal, this is the anchor's Stellar account that the user transferred (or will transfer) their issued asset to.
read / write
withdrawMemo String
(optional) Memo used when the user transferred to withdraw_anchor_account.
read / write
withdrawMemoType String
(optional) Memo type for withdraw_memo.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setHeaders(Map<String, String> headers) → void
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited