getChainInfo method

Future<ChainInfo> getChainInfo({
  1. required String operator,
})

Retrieves a list of payment requests for a specific account.

Returns:

  • ChainInfo object containing current block height.

Throws:

  • An Exception if chain info retrieval fails.

Implementation

Future<ChainInfo> getChainInfo({required String operator}) =>
    getServiceClient(operator).query.getChainInfo(Empty());