SuiClient

interface SuiClient

An interface representing a Sui client.

A Sui client is responsible for sending requests to a Sui end point and receiving responses. It is implemented by the SuiHttpClient and SuiWebSocketClient classes.

Example usage:

// Create a Sui HTTP client
val client = createSuiHttpClient {
setEndPoint(EndPoint.DEVNET)
}

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun whichUrl(endPoint: EndPoint): String

Returns the current Sui end point.