getLatestBlock method
Get latest block by address and return it or throw error
Implementation
Future<LatestBlock> getLatestBlock({required Address address}) {
if (_disposed) throw TransportCallAfterDisposeError();
return transport.getLatestBlock(address: address.address);
}