Search Results for

    Show / Hide Table of Contents

    Struct BlockTransaction

    A transaction found in a BlockResponse from GetBlock(UInt64, ResponseFormat).

    Implements
    IBlockTransaction
    IAppliedSignedTxn<AppliedSignedTxn>
    ISignedTxn
    ISignedTxn<Transaction>
    IUntypedTransaction
    ITransactionHeader
    IApplyData<AppliedSignedTxn>
    IAppEvalDelta<AppliedSignedTxn>
    Namespace: Algorand.Unity
    Assembly: cs.temp.dll.dll
    Syntax
    [AlgoApiObject("", "", 0)]
    [Serializable]
    public struct BlockTransaction : IEquatable<BlockTransaction>, IBlockTransaction, IAppliedSignedTxn<AppliedSignedTxn>, ISignedTxn, ISignedTxn<Transaction>, IUntypedTransaction, ITransactionHeader, IApplyData<AppliedSignedTxn>, IAppEvalDelta<AppliedSignedTxn>, IEquatable<AppliedSignedTxn>
    Remarks

    This is a SignedTxnInBlock from the algorand go project.

    Properties

    AppCallParams

    Params found in an application call transaction

    Declaration
    public AppCallTxn.Params AppCallParams { get; set; }
    Property Value
    Type Description
    AppCallTxn.Params

    ApplicationId

    If an app is called, the id used.

    Declaration
    [AlgoApiField("apid")]
    public AppIndex ApplicationId { get; set; }
    Property Value
    Type Description
    AppIndex

    AssetClosingAmount

    Closing amount for asset transaction.

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

    AssetConfigParams

    Params found in an asset configuration transaction

    Declaration
    public AssetConfigTxn.Params AssetConfigParams { get; set; }
    Property Value
    Type Description
    AssetConfigTxn.Params

    AssetFreezeParams

    Params found in an asset freeze transaction

    Declaration
    public AssetFreezeTxn.Params AssetFreezeParams { get; set; }
    Property Value
    Type Description
    AssetFreezeTxn.Params

    AssetTransferParams

    Params found in an asset transfer transaction

    Declaration
    public AssetTransferTxn.Params AssetTransferParams { get; set; }
    Property Value
    Type Description
    AssetTransferTxn.Params

    AuthAddr

    The signer of the transaction if this account was rekeyed.

    Declaration
    [AlgoApiField("sgnr")]
    public Address AuthAddr { get; set; }
    Property Value
    Type Description
    Address

    CloseRewards

    Rewards applied to CloseRemainderTo account.

    Declaration
    [AlgoApiField("rc")]
    public MicroAlgos CloseRewards { get; set; }
    Property Value
    Type Description
    MicroAlgos

    ClosingAmount

    Closing amount for transaction.

    Declaration
    [AlgoApiField("ca")]
    public MicroAlgos ClosingAmount { get; set; }
    Property Value
    Type Description
    MicroAlgos

    ConfigAsset

    If an asset is configured or created, the id used.

    Declaration
    [AlgoApiField("caid")]
    public AssetIndex ConfigAsset { get; set; }
    Property Value
    Type Description
    AssetIndex

    EvalDelta

    Application global and local state delta

    Declaration
    [AlgoApiField("dt")]
    public EvalDelta<AppliedSignedTxn> EvalDelta { get; set; }
    Property Value
    Type Description
    EvalDelta<AppliedSignedTxn>

    Fee

    Paid by the sender to the FeeSink to prevent denial-of-service. The minimum fee on Algorand is currently 1000 microAlgos.

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

    FirstValidRound

    The first round for when the transaction is valid. If the transaction is sent prior to this round it will be rejected by the network.

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

    GenesisHash

    The hash of the genesis block of the network for which the transaction is valid.

    Declaration
    public GenesisHash GenesisHash { get; set; }
    Property Value
    Type Description
    GenesisHash

    GenesisId

    The human-readable string that identifies the network for the transaction. The genesis ID is found in the genesis block.

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

    GlobalDelta

    Global state delta

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

    Group

    The group specifies that the transaction is part of a group and, if so, specifies the hash of the transaction group. See Algorand.Unity.TransactionGroup.

    Declaration
    public TransactionId Group { get; set; }
    Property Value
    Type Description
    TransactionId

    HasGenesisHash

    Declaration
    [AlgoApiField("hgh")]
    public Optional<bool> HasGenesisHash { get; set; }
    Property Value
    Type Description
    Optional<Boolean>

    HasGenesisId

    Declaration
    [AlgoApiField("hgi")]
    public Optional<bool> HasGenesisId { get; set; }
    Property Value
    Type Description
    Optional<Boolean>

    Header

    Params common to all transactions

    Declaration
    public TransactionHeader Header { get; set; }
    Property Value
    Type Description
    TransactionHeader

    InnerTxns

    The inner transactions (if any) that were evaluated.

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

    KeyRegParams

    Params found in a key registration transaction

    Declaration
    public KeyRegTxn.Params KeyRegParams { get; set; }
    Property Value
    Type Description
    KeyRegTxn.Params

    LastValidRound

    The ending round for which the transaction is valid. After this round, the transaction will be rejected by the network.

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

    Lease

    A 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. A lease is often used in the context of Algorand Smart Contracts to prevent replay attacks.

    Declaration
    public TransactionId Lease { get; set; }
    Property Value
    Type Description
    TransactionId

    LocalDeltas

    When decoding EvalDeltas, the integer key represents an offset into [txn.Sender, txn.Accounts[0], txn.Accounts[1], ...]

    Declaration
    public StateDelta[] LocalDeltas { get; set; }
    Property Value
    Type Description
    StateDelta[]

    Logs

    Logs from application calls

    Declaration
    public string[] Logs { get; set; }
    Property Value
    Type Description
    String[]

    Lsig

    The logic sig used to sign the transaction if there was one.

    Declaration
    [AlgoApiField("lsig")]
    public LogicSig Lsig { get; set; }
    Property Value
    Type Description
    LogicSig

    Msig

    The multi-signature used to sign the transaction if there was one.

    Declaration
    [AlgoApiField("msig")]
    public MultisigSig Msig { get; set; }
    Property Value
    Type Description
    MultisigSig

    Note

    Any data up to 1000 bytes.

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

    PaymentParams

    Params found in a payment transaction

    Declaration
    public PaymentTxn.Params PaymentParams { get; set; }
    Property Value
    Type Description
    PaymentTxn.Params

    ReceiverRewards

    Rewards applied to Receiver account.

    Declaration
    [AlgoApiField("rr")]
    public MicroAlgos ReceiverRewards { get; set; }
    Property Value
    Type Description
    MicroAlgos

    RekeyTo

    Specifies the authorized address. This address will be used to authorize all future transactions.

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

    Sender

    The address of the account that pays the fee and amount.

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

    SenderRewards

    Rewards applied to Sender account.

    Declaration
    [AlgoApiField("rs")]
    public MicroAlgos SenderRewards { get; set; }
    Property Value
    Type Description
    MicroAlgos

    Sig

    The signature used to sign the transaction if there was one.

    Declaration
    [AlgoApiField("sig")]
    public Sig Sig { get; set; }
    Property Value
    Type Description
    Sig

    Signature

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

    TransactionType

    Specifies the type of transaction. This value is automatically generated using any of the developer tools.

    Declaration
    public TransactionType TransactionType { get; set; }
    Property Value
    Type Description
    TransactionType

    Txn

    The transaction signed.

    Declaration
    [AlgoApiField("txn")]
    public Transaction Txn { get; set; }
    Property Value
    Type Description
    Transaction

    Methods

    Equals(AppliedSignedTxn)

    Declaration
    public bool Equals(AppliedSignedTxn other)
    Parameters
    Type Name Description
    AppliedSignedTxn other
    Returns
    Type Description
    Boolean

    Equals(BlockTransaction)

    Declaration
    public bool Equals(BlockTransaction other)
    Parameters
    Type Name Description
    BlockTransaction other
    Returns
    Type Description
    Boolean

    Operators

    Implicit(BlockTransaction to Transaction)

    Declaration
    public static implicit operator Transaction(BlockTransaction blockTxn)
    Parameters
    Type Name Description
    BlockTransaction blockTxn
    Returns
    Type Description
    Transaction

    Implements

    IBlockTransaction
    IAppliedSignedTxn<TTxn>
    ISignedTxn
    ISignedTxn<TTxn>
    IUntypedTransaction
    ITransactionHeader
    IApplyData<TTxn>
    IAppEvalDelta<TTxn>
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾