Class PendingTransactions
PendingTransactions represents a potentially truncated list of transactions currently in the node's transaction pool.
Inheritance
System.Object
PendingTransactions
Implements
System.IEquatable<PendingTransactions>
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.Algod.Model
Assembly: Algorand.dll
Syntax
[DataContract]
public class PendingTransactions : IEquatable<PendingTransactions>, IValidatableObject
Constructors
| Improve this Doc View SourcePendingTransactions(Nullable<UInt64>, TransactionList)
Initializes a new instance of the PendingTransactions class.
Declaration
public PendingTransactions(ulong? totalTxns = default(ulong? ), TransactionList truncatedTxns = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.UInt64> | totalTxns | TotalTxns (required). |
TransactionList | truncatedTxns | truncatedTxns (required). |
Properties
| Improve this Doc View SourceTotalTxns
TotalTxns
Declaration
[DataMember(Name = "totalTxns", EmitDefaultValue = false)]
public ulong? TotalTxns { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> | TotalTxns |
TruncatedTxns
Gets or Sets TruncatedTxns
Declaration
[DataMember(Name = "truncatedTxns", EmitDefaultValue = false)]
public TransactionList TruncatedTxns { get; set; }
Property Value
Type | Description |
---|---|
TransactionList |
Methods
| Improve this Doc View SourceEquals(PendingTransactions)
Returns true if PendingTransactions instances are equal
Declaration
public bool Equals(PendingTransactions input)
Parameters
Type | Name | Description |
---|---|---|
PendingTransactions | input | Instance of PendingTransactions to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
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 |
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 SourceIValidatableObject.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