Class TxGroup
TxGroup exports computeGroupID and assignGroupID functions
Inheritance
Inherited Members
Namespace: Algorand
Assembly: Algorand.dll
Syntax
[JsonObject]
public class TxGroup
  Fields
| Improve this Doc View SourceMAX_TX_GROUP_SIZE
Declaration
public static int MAX_TX_GROUP_SIZE
  Field Value
| Type | Description | 
|---|---|
| int | 
Methods
| Improve this Doc View SourceAssignGroupID(Address, params Transaction[])
Assigns group id to a given array of unsigned transactions
Declaration
public static Transaction[] AssignGroupID(Address address, params Transaction[] txns)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Address | address | optional sender address specifying which transaction return  | 
      
| Transaction[] | txns | array of transactions  | 
      
Returns
| Type | Description | 
|---|---|
| Transaction[] | array of grouped transactions, optionally filtered with the address parameter.  | 
      
AssignGroupID(Transaction[], Address)
Assigns group id to a given array of unsigned transactions Deprecated use assignGroupID(address, params Transaction txns)
Declaration
public static Transaction[] AssignGroupID(Transaction[] txns, Address address)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Transaction[] | txns | rray of transactions  | 
      
| Address | address | optional sender address specifying which transaction return  | 
      
Returns
| Type | Description | 
|---|---|
| Transaction[] | array of grouped transactions, optionally filtered with the address parameter.  | 
      
AssignGroupID(params Transaction[])
Assigns group id to a given array of unsigned transactions
Declaration
public static Transaction[] AssignGroupID(params Transaction[] txns)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Transaction[] | txns | array of transactions  | 
      
Returns
| Type | Description | 
|---|---|
| Transaction[] | array of grouped transactions, optionally filtered with the address parameter.  | 
      
ComputeGroupID(params Transaction[])
Compute group ID for a group of unsigned transactions
Declaration
public static Digest ComputeGroupID(params Transaction[] txns)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Transaction[] | txns | array of transactions  | 
      
Returns
| Type | Description | 
|---|---|
| Digest | Digest  |