RPCServerState class

The server_state command asks the server for various machine-readable information about the rippled server's current state. The response is almost the same as the server_info method, but uses units that are easier to process instead of easier to read. (For example, XRP values are given in integer drops instead of scientific notation or decimal values, and time is given in milliseconds instead of seconds.)

Inheritance

Constructors

RPCServerState.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
ledgerIndex XRPLLedgerIndex?
The ledger index for the lookup.
finalinherited
method String
The RPC method associated with the request.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validate String?
Gets the validation status for the request (default is null == params is valid).
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) XRPLedgerState
Handles the response received from the RPC call.
override
toJson() Map<String, dynamic>
Converts the request to JSON representation.
override
toRequest(int requestId) RPCRequestDetails
Converts the request to an RPCRequestDetails object.
inherited
toString() String
A string representation of this object.
inherited

Operators

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