getUnlockedBalance function
Implementation
int getUnlockedBalance(int accountIndex){
final errorBoxPointer = monero_flutter.buildErrorBoxPointer();
final result = monero_flutter.bindings.get_unlocked_balance(accountIndex, errorBoxPointer);
final errorInfo = monero_flutter.extractErrorInfo(errorBoxPointer);
if (0 != errorInfo.code) {
throw Exception(errorInfo.getErrorMessage());
}
return result;
}