Interface ISigner
Namespace: Algorand.Unity
Assembly: cs.temp.dll.dll
Syntax
public interface ISigner
Methods
SignTxns<T>(T[], TxnIndices)
Sign a group of transactions.
Declaration
SignedTxn<T>[] SignTxns<T>(T[] txns, TxnIndices txnsToSign)
where T : ITransaction, IEquatable<T>
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | txns | The transactions to sign. |
| TxnIndices | txnsToSign | Indexes of the transactions this signer should sign. |
Returns
| Type | Description |
|---|---|
| SignedTxn<T>[] | An array of transactions with signatures. If the transaction at a given index was not signed, that signed transaction will have no signature. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the transactions. |
Remarks
Each transaction is expected to have a valid group id already set.