getAccountCoinAmount

abstract suspend fun getAccountCoinAmount(accountAddress: AccountAddressInput, coinType: MoveValue.MoveStructId, minimumLedgerVersion: Long? = null): Option<Long>

Queries the account's coin amount by the coin type

Parameters

accountAddress

The account address we want to get the total count for

coinType

The coin type to query

minimumLedgerVersion

Optional ledger version to sync up to, before querying