Class SignedTransaction
Inheritance
object
SignedTransaction
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Algorand.Algod.Model.Transactions
Assembly: Algorand.dll
Syntax
public class SignedTransaction
Constructors
| Improve this Doc View SourceSignedTransaction()
Declaration
public SignedTransaction()
SignedTransaction(Transaction, Signature)
Declaration
public SignedTransaction(Transaction txn, Signature sig)
Parameters
Type | Name | Description |
---|---|---|
Transaction | txn | |
Signature | sig |
SignedTransaction(Transaction, byte[], MultisigSignature, LogicsigSignature, Address)
Declaration
[JsonConstructor]
public SignedTransaction(Transaction txn, byte[] sig, MultisigSignature msig, LogicsigSignature lsig, Address sgnr)
Parameters
Type | Name | Description |
---|---|---|
Transaction | txn | |
byte[] | sig | |
MultisigSignature | msig | |
LogicsigSignature | lsig | |
Address | sgnr |
Properties
| Improve this Doc View SourceAuthAddr
Declaration
[JsonProperty("sgnr", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address AuthAddr { get; set; }
Property Value
Type | Description |
---|---|
Address |
LSig
Declaration
[JsonProperty("lsig", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public LogicsigSignature LSig { get; set; }
Property Value
Type | Description |
---|---|
LogicsigSignature |
MSig
Declaration
[JsonProperty("msig", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public MultisigSignature MSig { get; set; }
Property Value
Type | Description |
---|---|
MultisigSignature |
Sig
Declaration
[JsonProperty("sig", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Signature Sig { get; set; }
Property Value
Type | Description |
---|---|
Signature |
Tx
Declaration
[JsonProperty("txn", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Transaction Tx { get; set; }
Property Value
Type | Description |
---|---|
Transaction |
Methods
| Improve this Doc View SourceAppendMultisigTransaction(MultisigAddress, Account)
AppendMultisigTransaction appends our signature to the given multisig transaction.
Declaration
public SignedTransaction AppendMultisigTransaction(MultisigAddress from, Account signingAccount)
Parameters
Type | Name | Description |
---|---|---|
MultisigAddress | from | the multisig public identity we are signing for |
Account | signingAccount |
Returns
Type | Description |
---|---|
SignedTransaction | merged multisig transaction |
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
object.Equals(object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
object.GetHashCode()
|
Improve this Doc
View Source
MergeMultisigTransactionBytes(params byte[][])
a convenience method for working directly with raw transaction files.
Declaration
public static byte[] MergeMultisigTransactionBytes(params byte[][] txsBytes)
Parameters
Type | Name | Description |
---|---|---|
byte[][] | txsBytes | list of multisig transactions to merge |
Returns
Type | Description |
---|---|
byte[] | an encoded, merged multisignature transaction |
MergeMultisigTransactions(params SignedTransaction[])
MergeMultisigTransactions merges the given (partially) signed multisig transactions.
Declaration
public static SignedTransaction MergeMultisigTransactions(params SignedTransaction[] txs)
Parameters
Type | Name | Description |
---|---|---|
SignedTransaction[] | txs | partially signed multisig transactions to merge. Underlying transactions may be mutated. |
Returns
Type | Description |
---|---|
SignedTransaction | merged multisig transaction |
SetAuthAddr(byte[])
Declaration
public void SetAuthAddr(byte[] sigAddr)
Parameters
Type | Name | Description |
---|---|---|
byte[] | sigAddr |