Class MultisigSignature
Serializable raw multisig class.
Inheritance
object
    MultisigSignature
  Inherited Members
      object.Equals(object, object)
    
    
      object.GetType()
    
    
      object.MemberwiseClone()
    
    
      object.ReferenceEquals(object, object)
    
    
      object.ToString()
    
  Namespace: Algorand
Assembly: Algorand.dll
Syntax
[JsonObject]
public class MultisigSignature
  Constructors
| Improve this Doc View SourceMultisigSignature()
Declaration
public MultisigSignature()
  MultisigSignature(int, int, List<MultisigSubsig>)
create a multisig signature.
Declaration
[JsonConstructor]
public MultisigSignature(int version, int threshold, List<MultisigSubsig> subsigs = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | version | required  | 
      
| int | threshold | required  | 
      
| System.Collections.Generic.List<T><MultisigSubsig> | subsigs | can be empty or null  | 
      
Fields
| Improve this Doc View SourceSubsigs
Declaration
[JsonProperty(PropertyName = "subsig")]
public List<MultisigSubsig> Subsigs
  Field Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<T><MultisigSubsig> | 
Threshold
Declaration
[JsonProperty(PropertyName = "thr")]
public int Threshold
  Field Value
| Type | Description | 
|---|---|
| int | 
Version
Declaration
[JsonProperty(PropertyName = "v")]
public int Version
  Field Value
| Type | Description | 
|---|---|
| int | 
Methods
| Improve this Doc View SourceEquals(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
  
  
  ShouldSerializeSubsigs()
Declaration
public bool ShouldSerializeSubsigs()
  Returns
| Type | Description | 
|---|---|
| bool | 
Verify(byte[])
Performs signature verification
Declaration
public bool Verify(byte[] message)
  Parameters
| Type | Name | Description | 
|---|---|---|
| byte[] | message | raw message to verify  | 
      
Returns
| Type | Description | 
|---|---|
| bool | bool  |