getAccountBlocksByPage method
pageIndex = 0 returns the most recent account blocks sorted descending by height
Implementation
Future<AccountBlockList> getAccountBlocksByPage(Address address,
{int pageIndex = 0, int pageSize = rpcMaxPageSize}) async {
var response = await client.sendRequest('ledger.getAccountBlocksByPage',
[address.toString(), pageIndex, pageSize]);
return AccountBlockList.fromJson(response!);
}