Show / Hide Table of Contents

    Class DryrunRequest

    Request data type for dryrun endpoint. Given the Transactions and simulated ledger state upload, run TEAL scripts and return debugging information.

    Inheritance
    System.Object
    DryrunRequest
    Implements
    System.IEquatable<DryrunRequest>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Algorand.V2.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class DryrunRequest : IEquatable<DryrunRequest>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    DryrunRequest()

    Initializes a new instance of the DryrunRequest class.

    Declaration
    [JsonConstructor]
    protected DryrunRequest()
    | Improve this Doc View Source

    DryrunRequest(List<SignedTransaction>, List<Account>, List<Application>, String, Nullable<UInt64>, Nullable<Int64>, List<DryrunSource>)

    Initializes a new instance of the DryrunRequest class.

    Declaration
    public DryrunRequest(List<SignedTransaction> txns = null, List<Account> accounts = null, List<Application> apps = null, string protocolVersion = null, ulong? round = default(ulong? ), long? latestTimestamp = default(long? ), List<DryrunSource> sources = null)
    Parameters
    Type Name Description
    System.Collections.Generic.List<SignedTransaction> txns

    txns (required).

    System.Collections.Generic.List<Account> accounts

    accounts (required).

    System.Collections.Generic.List<Application> apps

    apps (required).

    System.String protocolVersion

    ProtocolVersion specifies a specific version string to operate under, otherwise whatever the current protocol of the network this algod is running in. (required).

    System.Nullable<System.UInt64> round

    Round is available to some TEAL scripts. Defaults to the current round on the network this algod is attached to. (required).

    System.Nullable<System.Int64> latestTimestamp

    LatestTimestamp is available to some TEAL scripts. Defaults to the latest confirmed timestamp this algod is attached to. (required).

    System.Collections.Generic.List<DryrunSource> sources

    sources (required).

    Properties

    | Improve this Doc View Source

    Accounts

    Gets or Sets Accounts

    Declaration
    [DataMember(Name = "accounts", EmitDefaultValue = false)]
    public List<Account> Accounts { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Account>
    | Improve this Doc View Source

    Apps

    Gets or Sets Apps

    Declaration
    [DataMember(Name = "apps", EmitDefaultValue = false)]
    public List<Application> Apps { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Application>
    | Improve this Doc View Source

    LatestTimestamp

    LatestTimestamp is available to some TEAL scripts. Defaults to the latest confirmed timestamp this algod is attached to.

    Declaration
    [DataMember(Name = "latest-timestamp", EmitDefaultValue = false)]
    public long? LatestTimestamp { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    LatestTimestamp is available to some TEAL scripts. Defaults to the latest confirmed timestamp this algod is attached to.

    | Improve this Doc View Source

    ProtocolVersion

    ProtocolVersion specifies a specific version string to operate under, otherwise whatever the current protocol of the network this algod is running in.

    Declaration
    [DataMember(Name = "protocol-version", EmitDefaultValue = false)]
    public string ProtocolVersion { get; set; }
    Property Value
    Type Description
    System.String

    ProtocolVersion specifies a specific version string to operate under, otherwise whatever the current protocol of the network this algod is running in.

    | Improve this Doc View Source

    Round

    Round is available to some TEAL scripts. Defaults to the current round on the network this algod is attached to.

    Declaration
    [DataMember(Name = "round", EmitDefaultValue = false)]
    public ulong? Round { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    Round is available to some TEAL scripts. Defaults to the current round on the network this algod is attached to.

    | Improve this Doc View Source

    Sources

    Gets or Sets Sources

    Declaration
    [DataMember(Name = "sources", EmitDefaultValue = false)]
    public List<DryrunSource> Sources { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DryrunSource>
    | Improve this Doc View Source

    Txns

    Gets or Sets Txns

    Declaration
    [DataMember(Name = "txns", EmitDefaultValue = false)]
    public List<SignedTransaction> Txns { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<SignedTransaction>

    Methods

    | Improve this Doc View Source

    Equals(DryrunRequest)

    Returns true if DryrunRequest instances are equal

    Declaration
    public bool Equals(DryrunRequest input)
    Parameters
    Type Name Description
    DryrunRequest input

    Instance of DryrunRequest to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX