Search Results for

    Show / Hide Table of Contents

    Struct Transaction

    Namespace: Algorand.Unity.Indexer
    Assembly: cs.temp.dll.dll
    Syntax
    [AlgoApiObject("", "", 0)]
    [Serializable]
    public struct Transaction : IEquatable<Transaction>

    Properties

    ApplicationTransaction

    Declaration
    [AlgoApiField("application-transaction")]
    public TransactionApplication ApplicationTransaction { get; set; }
    Property Value
    Type Description
    TransactionApplication

    AssetConfigTransaction

    Declaration
    [AlgoApiField("asset-config-transaction")]
    public TransactionAssetConfig AssetConfigTransaction { get; set; }
    Property Value
    Type Description
    TransactionAssetConfig

    AssetFreezeTransaction

    Declaration
    [AlgoApiField("asset-freeze-transaction")]
    public TransactionAssetFreeze AssetFreezeTransaction { get; set; }
    Property Value
    Type Description
    TransactionAssetFreeze

    AssetTransferTransaction

    Declaration
    [AlgoApiField("asset-transfer-transaction")]
    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
    [AlgoApiField("auth-addr")]
    public Address AuthAddr { get; set; }
    Property Value
    Type Description
    Address

    CloseRewards

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

    Declaration
    [AlgoApiField("close-rewards")]
    public Optional<ulong> CloseRewards { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    ClosingAmount

    [ca] closing amount for transaction.

    Declaration
    [AlgoApiField("closing-amount")]
    public Optional<ulong> ClosingAmount { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    ConfirmedRound

    Round when the transaction was confirmed.

    Declaration
    [AlgoApiField("confirmed-round")]
    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
    [AlgoApiField("created-application-index")]
    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
    [AlgoApiField("created-asset-index")]
    public Optional<ulong> CreatedAssetIndex { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    Fee

    [fee] Transaction fee.

    Declaration
    [AlgoApiField("fee")]
    public ulong Fee { get; set; }
    Property Value
    Type Description
    UInt64

    FirstValid

    [fv] First valid round for this transaction.

    Declaration
    [AlgoApiField("first-valid")]
    public ulong FirstValid { get; set; }
    Property Value
    Type Description
    UInt64

    GenesisHash

    [gh] Hash of genesis block.

    Declaration
    [AlgoApiField("genesis-hash")]
    public byte[] GenesisHash { get; set; }
    Property Value
    Type Description
    Byte[]

    GenesisId

    [gen] genesis block ID.

    Declaration
    [AlgoApiField("genesis-id")]
    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
    [AlgoApiField("global-state-delta")]
    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
    [AlgoApiField("group")]
    public byte[] Group { get; set; }
    Property Value
    Type Description
    Byte[]

    Id

    Transaction ID

    Declaration
    [AlgoApiField("id")]
    public string Id { get; set; }
    Property Value
    Type Description
    String

    InnerTxns

    Inner transactions produced by application execution.

    Declaration
    [AlgoApiField("inner-txns")]
    public Transaction[] InnerTxns { get; set; }
    Property Value
    Type Description
    Transaction[]

    IntraRoundOffset

    Offset into the round where this transaction was confirmed.

    Declaration
    [AlgoApiField("intra-round-offset")]
    public Optional<ulong> IntraRoundOffset { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    KeyregTransaction

    Declaration
    [AlgoApiField("keyreg-transaction")]
    public TransactionKeyreg KeyregTransaction { get; set; }
    Property Value
    Type Description
    TransactionKeyreg

    LastValid

    [lv] Last valid round for this transaction.

    Declaration
    [AlgoApiField("last-valid")]
    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
    [AlgoApiField("lease")]
    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
    [AlgoApiField("local-state-delta")]
    public AccountStateDelta[] LocalStateDelta { get; set; }
    Property Value
    Type Description
    AccountStateDelta[]

    Logs

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

    Declaration
    [AlgoApiField("logs")]
    public byte[][] Logs { get; set; }
    Property Value
    Type Description
    Byte[][]

    Note

    [note] Free form data.

    Declaration
    [AlgoApiField("note")]
    public byte[] Note { get; set; }
    Property Value
    Type Description
    Byte[]

    PaymentTransaction

    Declaration
    [AlgoApiField("payment-transaction")]
    public TransactionPayment PaymentTransaction { get; set; }
    Property Value
    Type Description
    TransactionPayment

    ReceiverRewards

    [rr] rewards applied to receiver account.

    Declaration
    [AlgoApiField("receiver-rewards")]
    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
    [AlgoApiField("rekey-to")]
    public Address RekeyTo { get; set; }
    Property Value
    Type Description
    Address

    RoundTime

    Time when the block this transaction is in was confirmed.

    Declaration
    [AlgoApiField("round-time")]
    public Optional<ulong> RoundTime { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    Sender

    [snd] Sender's address.

    Declaration
    [AlgoApiField("sender")]
    public string Sender { get; set; }
    Property Value
    Type Description
    String

    SenderRewards

    [rs] rewards applied to sender account.

    Declaration
    [AlgoApiField("sender-rewards")]
    public Optional<ulong> SenderRewards { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    Signature

    Declaration
    [AlgoApiField("signature")]
    public TransactionSignature Signature { get; set; }
    Property Value
    Type Description
    TransactionSignature

    StateProofTransaction

    Declaration
    [AlgoApiField("state-proof-transaction")]
    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
    [AlgoApiField("tx-type")]
    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
    ☀
    ☾