getTotalSupply

open suspend override fun getTotalSupply(type: String): Result<GetTotalSupplyQuery.Data?, SuiError>

Fetches the total supply for a given coin type.

Return

A Result which is either:

Parameters

type

The string representing the coin type (e.g., "0x2::sui::SUI").