Show / Hide Table of Contents

    Class PendingTransactionResponse

    Details about a pending transaction. If the transaction was recently confirmed, includes confirmation details like the round and reward details.

    Inheritance
    System.Object
    PendingTransactionResponse
    Implements
    System.IEquatable<PendingTransactionResponse>
    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 PendingTransactionResponse : IEquatable<PendingTransactionResponse>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    PendingTransactionResponse()

    Initializes a new instance of the PendingTransactionResponse class.

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

    PendingTransactionResponse(Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, List<AccountStateDelta>, StateDelta, Object)

    Initializes a new instance of the PendingTransactionResponse class.

    Declaration
    public PendingTransactionResponse(long? assetIndex = default(long? ), long? applicationIndex = default(long? ), long? closeRewards = default(long? ), long? closingAmount = default(long? ), long? confirmedRound = default(long? ), string poolError = null, long? receiverRewards = default(long? ), long? senderRewards = default(long? ), List<AccountStateDelta> localStateDelta = null, StateDelta globalStateDelta = null, object txn = null)
    Parameters
    Type Name Description
    System.Nullable<System.Int64> assetIndex

    The asset index if the transaction was found and it created an asset..

    System.Nullable<System.Int64> applicationIndex

    The application index if the transaction was found and it created an application..

    System.Nullable<System.Int64> closeRewards

    Rewards in microalgos applied to the close remainder to account..

    System.Nullable<System.Int64> closingAmount

    Closing amount for the transaction..

    System.Nullable<System.Int64> confirmedRound

    The round where this transaction was confirmed, if present..

    System.String poolError

    Indicates that the transaction was kicked out of this node's transaction pool (and specifies why that happened). An empty string indicates the transaction wasn't kicked out of this node's txpool due to an error. (required).

    System.Nullable<System.Int64> receiverRewards

    Rewards in microalgos applied to the receiver account..

    System.Nullable<System.Int64> senderRewards

    Rewards in microalgos applied to the sender account..

    System.Collections.Generic.List<AccountStateDelta> localStateDelta

    \[ld\] Local state key/value changes for the application being executed by this transaction..

    StateDelta globalStateDelta

    \[gd\] Global state key/value changes for the application being executed by this transaction..

    System.Object txn

    The raw signed transaction. (required).

    Properties

    | Improve this Doc View Source

    ApplicationIndex

    The application index if the transaction was found and it created an application.

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

    The application index if the transaction was found and it created an application.

    | Improve this Doc View Source

    AssetIndex

    The asset index if the transaction was found and it created an asset.

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

    The asset index if the transaction was found and it created an asset.

    | Improve this Doc View Source

    CloseRewards

    Rewards in microalgos applied to the close remainder to account.

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

    Rewards in microalgos applied to the close remainder to account.

    | Improve this Doc View Source

    ClosingAmount

    Closing amount for the transaction.

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

    Closing amount for the transaction.

    | Improve this Doc View Source

    ConfirmedRound

    The round where this transaction was confirmed, if present.

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

    The round where this transaction was confirmed, if present.

    | Improve this Doc View Source

    GlobalStateDelta

    \[gd\] Global state key/value changes for the application being executed by this transaction.

    Declaration
    [DataMember(Name = "global-state-delta", EmitDefaultValue = false)]
    public StateDelta GlobalStateDelta { get; set; }
    Property Value
    Type Description
    StateDelta

    \[gd\] Global state key/value changes for the application being executed by this transaction.

    | Improve this Doc View Source

    LocalStateDelta

    \[ld\] Local state key/value changes for the application being executed by this transaction.

    Declaration
    [DataMember(Name = "local-state-delta", EmitDefaultValue = false)]
    public List<AccountStateDelta> LocalStateDelta { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<AccountStateDelta>

    \[ld\] Local state key/value changes for the application being executed by this transaction.

    | Improve this Doc View Source

    PoolError

    Indicates that the transaction was kicked out of this node's transaction pool (and specifies why that happened). An empty string indicates the transaction wasn't kicked out of this node's txpool due to an error.

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

    Indicates that the transaction was kicked out of this node's transaction pool (and specifies why that happened). An empty string indicates the transaction wasn't kicked out of this node's txpool due to an error.

    | Improve this Doc View Source

    ReceiverRewards

    Rewards in microalgos applied to the receiver account.

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

    Rewards in microalgos applied to the receiver account.

    | Improve this Doc View Source

    SenderRewards

    Rewards in microalgos applied to the sender account.

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

    Rewards in microalgos applied to the sender account.

    | Improve this Doc View Source

    Txn

    The raw signed transaction.

    Declaration
    [DataMember(Name = "txn", EmitDefaultValue = false)]
    public object Txn { get; set; }
    Property Value
    Type Description
    System.Object

    The raw signed transaction.

    Methods

    | Improve this Doc View Source

    Equals(PendingTransactionResponse)

    Returns true if PendingTransactionResponse instances are equal

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

    Instance of PendingTransactionResponse 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