Search Results for

    Show / Hide Table of Contents

    Struct Transaction

    Namespace: Algorand.Unity.Indexer
    Assembly: cs.temp.dll.dll
    Syntax
    public struct Transaction : IEquatable<Transaction>

    Properties

    ApplicationTransaction

    Declaration
    public TransactionApplication ApplicationTransaction { get; set; }
    Property Value
    Type Description
    TransactionApplication

    AssetConfigTransaction

    Declaration
    public TransactionAssetConfig AssetConfigTransaction { get; set; }
    Property Value
    Type Description
    TransactionAssetConfig

    AssetFreezeTransaction

    Declaration
    public TransactionAssetFreeze AssetFreezeTransaction { get; set; }
    Property Value
    Type Description
    TransactionAssetFreeze

    AssetTransferTransaction

    Declaration
    public TransactionAssetTransfer AssetTransferTransaction { get; set; }
    Property Value
    Type Description
    TransactionAssetTransfer

    AuthAddr

    [sgnr] this is included with signed transactions when the signing address does not equal the sender. The backend can use this to ensure that auth addr is equal to the accounts auth addr.

    Declaration
    public Address AuthAddr { get; set; }
    Property Value
    Type Description
    Address

    CloseRewards

    [rc] rewards applied to close-remainder-to account.

    Declaration
    public Optional<ulong> CloseRewards { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    ClosingAmount

    [ca] closing amount for transaction.

    Declaration
    public Optional<ulong> ClosingAmount { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    ConfirmedRound

    Round when the transaction was confirmed.

    Declaration
    public Optional<ulong> ConfirmedRound { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    CreatedApplicationIndex

    Specifies an application index (ID) if an application was created with this transaction.

    Declaration
    public Optional<ulong> CreatedApplicationIndex { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    CreatedAssetIndex

    Specifies an asset index (ID) if an asset was created with this transaction.

    Declaration
    public Optional<ulong> CreatedAssetIndex { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    Fee

    [fee] Transaction fee.

    Declaration
    public ulong Fee { get; set; }
    Property Value
    Type Description
    UInt64

    FirstValid

    [fv] First valid round for this transaction.

    Declaration
    public ulong FirstValid { get; set; }
    Property Value
    Type Description
    UInt64

    GenesisHash

    [gh] Hash of genesis block.

    Declaration
    public byte[] GenesisHash { get; set; }
    Property Value
    Type Description
    Byte[]

    GenesisId

    [gen] genesis block ID.

    Declaration
    public string GenesisId { get; set; }
    Property Value
    Type Description
    String

    GlobalStateDelta

    [gd] Global state key/value changes for the application being executed by this transaction.

    Declaration
    public StateDelta GlobalStateDelta { get; set; }
    Property Value
    Type Description
    StateDelta

    Group

    [grp] Base64 encoded byte array of a sha512/256 digest. When present indicates that this transaction is part of a transaction group and the value is the sha512/256 hash of the transactions in that group.

    Declaration
    public byte[] Group { get; set; }
    Property Value
    Type Description
    Byte[]

    Id

    Transaction ID

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    String

    InnerTxns

    Inner transactions produced by application execution.

    Declaration
    public Transaction[] InnerTxns { get; set; }
    Property Value
    Type Description
    Transaction[]

    IntraRoundOffset

    Offset into the round where this transaction was confirmed.

    Declaration
    public Optional<ulong> IntraRoundOffset { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    KeyregTransaction

    Declaration
    public TransactionKeyreg KeyregTransaction { get; set; }
    Property Value
    Type Description
    TransactionKeyreg

    LastValid

    [lv] Last valid round for this transaction.

    Declaration
    public ulong LastValid { get; set; }
    Property Value
    Type Description
    UInt64

    Lease

    [lx] Base64 encoded 32-byte array. Lease enforces mutual exclusion of transactions. If this field is nonzero, then once the transaction is confirmed, it acquires the lease identified by the (Sender, Lease) pair of the transaction until the LastValid round passes. While this transaction possesses the lease, no other transaction specifying this lease can be confirmed.

    Declaration
    public byte[] Lease { get; set; }
    Property Value
    Type Description
    Byte[]

    LocalStateDelta

    [ld] Local state key/value changes for the application being executed by this transaction.

    Declaration
    public AccountStateDelta[] LocalStateDelta { get; set; }
    Property Value
    Type Description
    AccountStateDelta[]

    Logs

    [lg] Logs for the application being executed by this transaction.

    Declaration
    public byte[][] Logs { get; set; }
    Property Value
    Type Description
    Byte[][]

    Note

    [note] Free form data.

    Declaration
    public byte[] Note { get; set; }
    Property Value
    Type Description
    Byte[]

    PaymentTransaction

    Declaration
    public TransactionPayment PaymentTransaction { get; set; }
    Property Value
    Type Description
    TransactionPayment

    ReceiverRewards

    [rr] rewards applied to receiver account.

    Declaration
    public Optional<ulong> ReceiverRewards { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    RekeyTo

    [rekey] when included in a valid transaction, the accounts auth addr will be updated with this value and future signatures must be signed with the key represented by this address.

    Declaration
    public Address RekeyTo { get; set; }
    Property Value
    Type Description
    Address

    RoundTime

    Time when the block this transaction is in was confirmed.

    Declaration
    public Optional<ulong> RoundTime { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    Sender

    [snd] Sender's address.

    Declaration
    public string Sender { get; set; }
    Property Value
    Type Description
    String

    SenderRewards

    [rs] rewards applied to sender account.

    Declaration
    public Optional<ulong> SenderRewards { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    Signature

    Declaration
    public TransactionSignature Signature { get; set; }
    Property Value
    Type Description
    TransactionSignature

    StateProofTransaction

    Declaration
    public TransactionStateProof StateProofTransaction { get; set; }
    Property Value
    Type Description
    TransactionStateProof

    TxType

    [type] Indicates what type of transaction this is. Different types have different fields.

    Valid types, and where their fields are stored:

    • [pay] payment-transaction
    • [keyreg] keyreg-transaction
    • [acfg] asset-config-transaction
    • [axfer] asset-transfer-transaction
    • [afrz] asset-freeze-transaction
    • [appl] application-transaction
    • [stpf] state-proof-transaction
    Declaration
    public string TxType { get; set; }
    Property Value
    Type Description
    String

    Methods

    Equals(Transaction)

    Declaration
    public bool Equals(Transaction other)
    Parameters
    Type Name Description
    Transaction other
    Returns
    Type Description
    Boolean
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾