supportsInterface method
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<bool> supportsInterface(_i2.Uint8List interfaceID,
{_i1.BlockNum? atBlock}) async {
final function = self.abi.functions[22];
assert(checkSignature(function, '01ffc9a7'));
final params = [interfaceID];
final response = await read(function, params, atBlock);
return (response[0] as bool);
}