getAccountBlockByHash method

Future<AccountBlock?> getAccountBlockByHash(
  1. Hash? hash
)

Implementation

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