get Total Supply
open suspend override fun getTotalSupply(type: String): <Error class: unknown class><GetTotalSupplyQuery.Data?, <Error class: unknown class>>
Fetches the total supply for a given coin type.
Return
A Result which is either:
Ok: Containing a nullable GetTotalSupplyQuery.Data object with the total supply details.Err: Containing a SuiError object with a list of SdkErrorDetails.
Parameters
type
The string representing the coin type (e.g., "0x2::sui::SUI").