getAccountHashHeight method
Implementation
Future<HashHeight> getAccountHashHeight(Address address) async {
try {
final accountBlock = await getLatestAccountBlock(address);
return HashHeight(
hash: accountBlock.hash,
height: accountBlock.height.toInt(),
);
} catch (e) {
return HashHeight(hash: Hash.empty, height: 0);
}
}