getMomentumByHash method

Future<Momentum?> getMomentumByHash(
  1. Hash hash
)

Implementation

Future<Momentum?> getMomentumByHash(Hash hash) async {
  var response =
      await client.sendRequest('ledger.getMomentumByHash', [hash.toString()]);
  return response == null ? null : Momentum.fromJson(response);
}