AptosRequestCheckBasicNodeHealth class

By default this endpoint just checks that it can get the latest ledger info and then returns 200. If the duration_secs param is provided, this endpoint will return a 200 if the following condition is true: server_latest_ledger_info_timestamp >= server_current_time_timestamp - duration_secs aptos documation

Inheritance

Constructors

AptosRequestCheckBasicNodeHealth.new({int? durationSecs})

Properties

durationSecs int?
Threshold in seconds that the server can be behind to be considered healthy If not provided, the healthcheck will always succeed
final
hashCode int
The hash code for this object.
no setterinherited
method String
no setteroverride
pathParameters List<String>
no setterinherited
queryParameters Map<String, String?>
no setteroverride
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildRequest(int requestID) AptosRequestDetails
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) String
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited