Coin
Functions
Link copied to clipboard
abstract suspend fun getAllBalances(address: AccountAddress, limit: Int? = null, cursor: String? = null): Result<GetAllBalancesQuery.Data?, SuiError>
Fetches all coin balances for a given Sui address.
Link copied to clipboard
abstract suspend fun getBalance(address: AccountAddress, coinType: String? = null): Result<GetBalanceQuery.Data?, SuiError>
Fetches the balance of a specific coin type for a given address.
Link copied to clipboard
Fetches the metadata for a specific coin type.
Link copied to clipboard
Fetches the total supply for a given coin type.