get Account Coin Amount From Smart Contract
open suspend override fun getAccountCoinAmountFromSmartContract(accountAddress: AccountAddressInput, coinType: MoveValue.MoveStructId?, faMetadataAddress: AccountAddressInput?): Result<Long, AptosSdkError>
Queries the account's coin amount directly from smart contracts (view function), matching the TS SDK behavior.
Parameters
account Address
The account address to query.
coin Type
Optional coin type.
fa Metadata Address
Optional fungible asset metadata address.