queryTxByAddr method

Future<JsonList> queryTxByAddr({
  1. required String address,
  2. required dynamic startBlock,
  3. required dynamic endBlock,
  4. num maxTx = 10000,
})

zeniq_queryTxByAddr

Implementation

Future<JsonList> queryTxByAddr({
  required String address,
  required dynamic startBlock,
  required dynamic endBlock,
  num maxTx = 10000,
}) async {
  final response = await _call<JsonList>(
    'zeniq_queryTxByAddr',
    args: [
      address,
      dynToHex(startBlock),
      dynToHex(endBlock),
      maxTx.toHexWithPrefix,
    ],
  );

  return response;
}