setSubnodeOwner method

Future<String> setSubnodeOwner(
  1. Uint8List node,
  2. Uint8List label,
  3. EthereumAddress owner, {
  4. required Credentials credentials,
  5. 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> setSubnodeOwner(
    _i2.Uint8List node, _i2.Uint8List label, _i1.EthereumAddress owner,
    {required _i1.Credentials credentials,
    _i1.Transaction? transaction}) async {
  final function = self.abi.functions[2];
  assert(checkSignature(function, '06ab5923'));
  final params = [node, label, owner];
  return write(credentials, transaction, function, params);
}