getInfo method

Future<GetInfoResponse> getInfo(
  1. NwcConnection connection
)

Does a get_info request for returning node detailed info

Implementation

Future<GetInfoResponse> getInfo(NwcConnection connection) async {
  return _executeRequest<GetInfoResponse>(connection, GetInfoRequest());
}