setDNSRecords method

Future<String> setDNSRecords(
  1. Uint8List node,
  2. Uint8List data, {
  3. required Credentials credentials,
  4. Transaction? transaction,
})

The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.

Implementation

Future<String> setDNSRecords(_i2.Uint8List node, _i2.Uint8List data,
    {required _i1.Credentials credentials,
    _i1.Transaction? transaction}) async {
  final function = self.abi.functions[17];
  assert(checkSignature(function, '0af179d7'));
  final params = [node, data];
  return write(credentials, transaction, function, params);
}