Skip to main content

getSuiClient

Retrieves a Sui gRPC client (SuiGrpcClient from @mysten/sui/grpc) from a wallet account, allowing you to interact with the Sui blockchain.
The Sui RPC URL configured for the wallet’s network must serve the Sui gRPC API. JSON-RPC endpoints are not supported.

Usage

Parameters

Returns

Promise<SuiClient> - A promise that resolves to a SuiGrpcClient instance from @mysten/sui/grpc.

Errors

React

Last modified on October 27, 2026