abi method

Future<ABI> abi(
  1. Uint8List node,
  2. BigInt contentTypes, {
  3. BlockNum? atBlock,
})

The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.

Implementation

Future<ABI> abi(_i2.Uint8List node, BigInt contentTypes,
    {_i1.BlockNum? atBlock}) async {
  final function = self.abi.functions[1];
  assert(checkSignature(function, '2203ab56'));
  final params = [node, contentTypes];
  final response = await read(function, params, atBlock);
  return ABI(response);
}