Class PendingTransactionsResponse
PendingTransactions is an array of signed transactions exactly as they were submitted.
Inheritance
Implements
Inherited Members
Namespace: Algorand.V2.Model
Assembly: Algorand.dll
Syntax
[DataContract]
public class PendingTransactionsResponse : IEquatable<PendingTransactionsResponse>, IValidatableObject
Constructors
| Improve this Doc View SourcePendingTransactionsResponse()
Initializes a new instance of the PendingTransactionsResponse class.
Declaration
[JsonConstructor]
protected PendingTransactionsResponse()
PendingTransactionsResponse(List<Object>, Nullable<Int64>)
Initializes a new instance of the PendingTransactionsResponse class.
Declaration
public PendingTransactionsResponse(List<object> topTransactions = null, long? totalTransactions = default(long? ))
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Object> | topTransactions | An array of signed transaction objects. (required). |
System.Nullable<System.Int64> | totalTransactions | Total number of transactions in the pool. (required). |
Properties
| Improve this Doc View SourceTopTransactions
An array of signed transaction objects.
Declaration
[DataMember(Name = "top-transactions", EmitDefaultValue = false)]
public List<object> TopTransactions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | An array of signed transaction objects. |
TotalTransactions
Total number of transactions in the pool.
Declaration
[DataMember(Name = "total-transactions", EmitDefaultValue = false)]
public long? TotalTransactions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | Total number of transactions in the pool. |
Methods
| Improve this Doc View SourceEquals(PendingTransactionsResponse)
Returns true if PendingTransactionsResponse instances are equal
Declaration
public bool Equals(PendingTransactionsResponse input)
Parameters
Type | Name | Description |
---|---|---|
PendingTransactionsResponse | input | Instance of PendingTransactionsResponse 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
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
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
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 |