SuiProvider class

Represents an interface to interact with Sui nodes using JSON-RPC requests.

Inheritance

Constructors

SuiProvider.new(SuiServiceProvider rpc)
Creates a new instance of the SuiProvider class with the specified rpc.

Properties

hashCode int
The hash code for this object.
no setterinherited
rpc SuiServiceProvider
The JSON-RPC service used for communication with the Sui node.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request<RESULT, SERVICERESPONSE>(BaseServiceRequest<RESULT, SERVICERESPONSE, SuiRequestDetails> request, {Duration? timeout}) Future<RESULT>
Sends a JSON-RPC request to the Sui node and returns the result after processing the response.
override
requestDynamic<RESULT, SERVICERESPONSE>(BaseServiceRequest<RESULT, SERVICERESPONSE, SuiRequestDetails> request, {Duration? timeout}) Future<SERVICERESPONSE>
override
toString() String
A string representation of this object.
inherited

Operators

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