Struct Transaction
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
AssetConfigTransaction
Declaration
[AlgoApiField("asset-config-transaction")]
public TransactionAssetConfig AssetConfigTransaction { get; set; }
Property Value
AssetFreezeTransaction
Declaration
[AlgoApiField("asset-freeze-transaction")]
public TransactionAssetFreeze AssetFreezeTransaction { get; set; }
Property Value
AssetTransferTransaction
Declaration
[AlgoApiField("asset-transfer-transaction")]
public TransactionAssetTransfer AssetTransferTransaction { get; set; }
Property Value
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
CloseRewards
[rc] rewards applied to close-remainder-to account.
Declaration
[AlgoApiField("close-rewards")]
public Optional<ulong> CloseRewards { get; set; }
Property Value
ClosingAmount
[ca] closing amount for transaction.
Declaration
[AlgoApiField("closing-amount")]
public Optional<ulong> ClosingAmount { get; set; }
Property Value
ConfirmedRound
Round when the transaction was confirmed.
Declaration
[AlgoApiField("confirmed-round")]
public Optional<ulong> ConfirmedRound { get; set; }
Property Value
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
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
Fee
Declaration
[AlgoApiField("fee")]
public ulong Fee { get; set; }
Property Value
FirstValid
[fv] First valid round for this transaction.
Declaration
[AlgoApiField("first-valid")]
public ulong FirstValid { get; set; }
Property Value
GenesisHash
[gh] Hash of genesis block.
Declaration
[AlgoApiField("genesis-hash")]
public byte[] GenesisHash { get; set; }
Property Value
GenesisId
Declaration
[AlgoApiField("genesis-id")]
public string GenesisId { get; set; }
Property Value
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
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
Id
Declaration
[AlgoApiField("id")]
public string Id { get; set; }
Property Value
InnerTxns
Inner transactions produced by application execution.
Declaration
[AlgoApiField("inner-txns")]
public Transaction[] InnerTxns { get; set; }
Property Value
IntraRoundOffset
Offset into the round where this transaction was confirmed.
Declaration
[AlgoApiField("intra-round-offset")]
public Optional<ulong> IntraRoundOffset { get; set; }
Property Value
KeyregTransaction
Declaration
[AlgoApiField("keyreg-transaction")]
public TransactionKeyreg KeyregTransaction { get; set; }
Property Value
LastValid
[lv] Last valid round for this transaction.
Declaration
[AlgoApiField("last-valid")]
public ulong LastValid { get; set; }
Property Value
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
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
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
Declaration
[AlgoApiField("note")]
public byte[] Note { get; set; }
Property Value
PaymentTransaction
Declaration
[AlgoApiField("payment-transaction")]
public TransactionPayment PaymentTransaction { get; set; }
Property Value
ReceiverRewards
[rr] rewards applied to receiver account.
Declaration
[AlgoApiField("receiver-rewards")]
public Optional<ulong> ReceiverRewards { get; set; }
Property Value
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
RoundTime
Time when the block this transaction is in was confirmed.
Declaration
[AlgoApiField("round-time")]
public Optional<ulong> RoundTime { get; set; }
Property Value
Sender
Declaration
[AlgoApiField("sender")]
public string Sender { get; set; }
Property Value
SenderRewards
[rs] rewards applied to sender account.
Declaration
[AlgoApiField("sender-rewards")]
public Optional<ulong> SenderRewards { get; set; }
Property Value
Signature
Declaration
[AlgoApiField("signature")]
public TransactionSignature Signature { get; set; }
Property Value
StateProofTransaction
Declaration
[AlgoApiField("state-proof-transaction")]
public TransactionStateProof StateProofTransaction { get; set; }
Property Value
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
Methods
Equals(Transaction)
Declaration
public bool Equals(Transaction other)
Parameters
Returns