Struct AppCallTxn
  
  
  
  
  
  Assembly: cs.temp.dll.dll
  Syntax
  
    [AlgoApiObject("", "", 0)]
[Serializable]
public struct AppCallTxn : IAppCallTxn, ITransaction, ITransactionHeader, IEquatable<AppCallTxn>
   
  Fields
  
  
  
  MaxNumAppArguments
  
  
  Declaration
  
    public const int MaxNumAppArguments = 16
   
  Field Value
  
  Properties
  
  
  
  
  Accounts
  List of accounts in addition to the sender that may be accessed from the application's approval-program and
clear-state-program.
Declaration
  
    [AlgoApiField("apat")]
public Address[] Accounts { get; set; }
   
  Property Value
  
  
  
  
  AppArguments
  Transaction specific arguments accessed from the application's approval-program and clear-state-program.
Declaration
  
    [AlgoApiField("apaa")]
public CompiledTeal[] AppArguments { get; set; }
   
  Property Value
  
  
  
  
  ApplicationId
  ID of the application being configured or empty if creating.
Declaration
  
    [AlgoApiField("apid")]
public AppIndex ApplicationId { get; set; }
   
  Property Value
  
  
  
  
  ApprovalProgram
  Logic executed for every application transaction, except when on-completion is set to "clear". It can read and
write global state for the application, as well as account-specific local state. Approval programs may reject the
transaction.
Declaration
  
    [AlgoApiField("apap")]
public CompiledTeal ApprovalProgram { get; set; }
   
  Property Value
  
  
  
  
  Boxes
  The boxes that should be made available for the runtime of the program.
Declaration
  
    [AlgoApiField("apbx")]
public BoxRef[] Boxes { get; set; }
   
  Property Value
  
  
  
  
  ClearStateProgram
  Logic executed for application transactions with on-completion set to "clear". It can read and write global state
for the application, as well as account-specific local state. Clear state programs cannot reject the transaction.
Declaration
  
    [AlgoApiField("apsu")]
public CompiledTeal ClearStateProgram { get; set; }
   
  Property Value
  
  
  
  
  ExtraProgramPages
  Number of additional pages allocated to the application's approval and clear state programs. Each ExtraProgramPages
is 2048 bytes. The sum of ApprovalProgram and ClearStateProgram may not exceed
2048*(1+ExtraProgramPages) bytes.
Declaration
  
    [AlgoApiField("apep")]
public ulong ExtraProgramPages { get; set; }
   
  Property Value
  
  
  
  
  Fee
  Paid by the sender to the FeeSink to prevent denial-of-service. The minimum fee on Algorand is currently 1000 microAlgos.
Declaration
  
    [AlgoApiField("fee")]
public MicroAlgos Fee { get; set; }
   
  Property Value
  
  
  
  
  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
  
    [AlgoApiField("fv")]
public ulong FirstValidRound { get; set; }
   
  Property Value
  
  
  
  
  ForeignApps
  Lists the applications in addition to the application-id whose global states may be accessed by this application's
approval-program and clear-state-program. The access is read-only.
Declaration
  
    [AlgoApiField("apfa")]
public ulong[] ForeignApps { get; set; }
   
  Property Value
  
  
  
  
  ForeignAssets
  Lists the assets whose AssetParams may be accessed by this application's approval-program and clear-state-program.
The access is read-only.
Declaration
  
    [AlgoApiField("apas")]
public ulong[] ForeignAssets { get; set; }
   
  Property Value
  
  
  
  
  GenesisHash
  The hash of the genesis block of the network for which the transaction is valid.
Declaration
  
    [AlgoApiField("gh")]
public GenesisHash GenesisHash { get; set; }
   
  Property Value
  
  
  
  
  GenesisId
  The human-readable string that identifies the network for the transaction. The genesis ID is found in the genesis block.
Declaration
  
    [AlgoApiField("gen")]
public FixedString32Bytes GenesisId { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | FixedString32Bytes |  | 
    
  
  
  
  
  GlobalStateSchema
  Holds the maximum number of global state values defined within a StateSchema object.
Declaration
  
    [AlgoApiField("apgs")]
public StateSchema GlobalStateSchema { get; set; }
   
  Property Value
  
  
  
  
  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
  
    [AlgoApiField("grp")]
public TransactionId Group { get; set; }
   
  Property Value
  
  
  
  
  LastValidRound
  The ending round for which the transaction is valid. After this round, the transaction will be rejected by the network.
Declaration
  
    [AlgoApiField("lv")]
public ulong LastValidRound { get; set; }
   
  Property Value
  
  
  
  
  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
  
    [AlgoApiField("lx")]
public TransactionId Lease { get; set; }
   
  Property Value
  
  
  
  
  LocalStateSchema
  Holds the maximum number of local state values defined within a StateSchema object.
Declaration
  
    [AlgoApiField("apls")]
public StateSchema LocalStateSchema { get; set; }
   
  Property Value
  
  
  
  
  Note
  Any data up to 1000 bytes.
Declaration
  
    [AlgoApiField("note")]
public byte[] Note { get; set; }
   
  Property Value
  
  
  
  
  OnComplete
  Defines what additional actions occur with the transaction.
Declaration
  
    [AlgoApiField("apan")]
public OnCompletion OnComplete { get; set; }
   
  Property Value
  
  
  
  
  RekeyTo
  Specifies the authorized address. This address will be used to authorize all future transactions.
Declaration
  
    [AlgoApiField("rekey")]
public Address RekeyTo { get; set; }
   
  Property Value
  
  
  
  
  Sender
  The address of the account that pays the fee and amount.
Declaration
  
    [AlgoApiField("snd")]
public Address Sender { get; set; }
   
  Property Value
  
  
  
  
  TransactionType
  Specifies the type of transaction. This value is automatically generated using any of the developer tools.
Declaration
  
    [AlgoApiField("type")]
public TransactionType TransactionType { get; }
   
  Property Value
  
  Methods
  
  
  
  
  CopyFrom(Transaction)
  Copy relevant fields to this transaction.
Declaration
  
    public void CopyFrom(Transaction transaction)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Transaction | transaction | A raw transaction with all possible transaction fields. | 
    
  
  
  
  
  CopyTo(ref Transaction)
  Copy this transactions fields to a Transaction which contains all possible transaction fields.
Declaration
  
    public void CopyTo(ref Transaction transaction)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Transaction | transaction | A raw transaction with all possible transaction fields. | 
    
  
  
  
  
  Equals(AppCallTxn)
  
  
  Declaration
  
    public bool Equals(AppCallTxn other)
   
  Parameters
  
  Returns
  
  Implements