Class Transaction
  
  
  
    Inheritance
    object
    Transaction
      
      
      
      
      
      
   
  
  
    Inherited Members
    
      object.Equals(object)
    
    
      object.Equals(object, object)
    
    
      object.GetHashCode()
    
    
      object.GetType()
    
    
      object.MemberwiseClone()
    
    
      object.ReferenceEquals(object, object)
    
    
      object.ToString()
    
   
  
  Assembly: Algorand.dll
  Syntax
  
    [JsonConverter(typeof(JsonSubtypes), new object[] { "type" })]
[JsonSubtypes.KnownSubType(typeof(ApplicationCallTransaction), "appl")]
[JsonSubtypes.KnownSubType(typeof(KeyRegistrationTransaction), "keyreg")]
[JsonSubtypes.KnownSubType(typeof(PaymentTransaction), "pay")]
[JsonSubtypes.KnownSubType(typeof(AssetFreezeTransaction), "afrz")]
[JsonSubtypes.KnownSubType(typeof(AssetMovementsTransaction), "axfer")]
[JsonSubtypes.KnownSubType(typeof(AssetConfigurationTransaction), "acfg")]
public abstract class Transaction : IReturnableTransaction
   
  Properties
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CloseRewards
  
  
  Declaration
  
    [JsonIgnore]
public ulong? CloseRewards { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Committed
  
  
  Declaration
  
    [JsonIgnore]
public bool Committed { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ConfirmedRound
  
  
  Declaration
  
    [JsonIgnore]
public ulong? ConfirmedRound { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Fee
  
  
  Declaration
  
    [JsonProperty("fee", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? Fee { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  FirstValid
  
  
  Declaration
  
    [JsonProperty("fv", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? FirstValid { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GenesisHash
  
  
  Declaration
  
    [JsonProperty("gh", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Digest GenesisHash { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GenesisId
  
  
  Declaration
  
    [JsonProperty("gen", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string GenesisId { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Group
  
  
  Declaration
  
    [JsonProperty("grp", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Digest Group { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  LastValid
  
  
  Declaration
  
    [JsonProperty("lv", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? LastValid { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Lease
  
  
  Declaration
  
    [JsonProperty("lx", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public byte[] Lease { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Note
  
  
  Declaration
  
    [JsonProperty("note", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public byte[] Note { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PoolError
  
  
  Declaration
  
    [JsonIgnore]
public string PoolError { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ReceiverRewards
  
  
  Declaration
  
    [JsonIgnore]
public ulong? ReceiverRewards { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RekeyTo
  
  
  Declaration
  
    [JsonProperty("rekey", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address RekeyTo { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Sender
  
  
  Declaration
  
    [JsonProperty("snd", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address Sender { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SenderRewards
  
  
  Declaration
  
    [JsonIgnore]
public ulong? SenderRewards { get; }
   
  Property Value
  
  Methods
  
    |
    Improve this Doc
  
  
    View Source
  
  
  BytesToSign()
  Return encoded representation of the transaction with a prefix
suitable for signing
 
  
  Declaration
  
    public byte[] BytesToSign()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  EstimatedEncodedSize()
  
  
  Declaration
  
    public int EstimatedEncodedSize()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RawTxID()
  Return transaction ID as Digest
 
  
  Declaration
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetFee(ulong)
  
  
  Declaration
  
    public void SetFee(ulong fee)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | ulong | 
        fee | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetFeeByFeePerByte(ulong?)
  Sets the transaction fee according to suggestedFeePerByte * estimateTxSize.
 
  
  Declaration
  
    public void SetFeeByFeePerByte(ulong? suggestedFeePerByte)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | ulong? | 
        suggestedFeePerByte | 
        suggestedFee given by network 
 | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ShouldSerializeGenesisId()
  
  
  Declaration
  
    public bool ShouldSerializeGenesisId()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ShouldSerializeLease()
  
  
  Declaration
  
    public bool ShouldSerializeLease()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ShouldSerializeNote()
  
  
  Declaration
  
    public bool ShouldSerializeNote()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Sign(Account)
  
  
  Declaration
  
    public SignedTransaction Sign(Account signingAccount)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Account | 
        signingAccount | 
         | 
      
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Sign(LogicsigSignature)
  
  
  Declaration
  
    public SignedTransaction Sign(LogicsigSignature lsig)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Sign(MultisigAddress, Account)
  
  
  Declaration
  
    public SignedTransaction Sign(MultisigAddress from, Account signingAccount)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Sign(ulong, Account)
  Sign a transaction with this account, replacing the fee with the given feePerByte.
 
  
  Declaration
  
    public SignedTransaction Sign(ulong feePerByte, Account signingAccount)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | ulong | 
        feePerByte | 
        feePerByte fee per byte, often returned as a suggested fee 
 | 
      
      
        | Account | 
        signingAccount | 
         | 
      
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  TxID()
  Return transaction ID as string
 
  
  Declaration
  
  Returns
  
  Implements