SuiRequestProtocolConfig class
Return the protocol config table for the given version number. If the version number is not specified, If none is specified, the node uses the version of the latest epoch it has processed. sui documation
- Inheritance
-
- Object
- BaseServiceRequest<
SuiApiProtocolConfig, Map< String, dynamic> , SuiRequestDetails> - SuiRequest<
SuiApiProtocolConfig, Map< String, dynamic> > - SuiRequestProtocolConfig
Constructors
- SuiRequestProtocolConfig.new({String? version})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
The Sui method associated with the request.
no setteroverride
- pagination → SuiApiRequestPagination?
-
finalinherited
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String?
-
An optional protocol version specifier.
If omitted, the latest protocol config table for the node will be returned.
final
Methods
-
buildRequest(
int requestID) → SuiRequestDetails -
Converts the request parameters to a SuiRequestDetails object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → SuiApiProtocolConfig -
override
-
toJson(
) → List -
Converts the request parameters to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited