setContenthash method
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> setContenthash(_i2.Uint8List node, _i2.Uint8List hash,
{required _i1.Credentials credentials,
_i1.Transaction? transaction}) async {
final function = self.abi.functions[16];
assert(checkSignature(function, '304e6ade'));
final params = [node, hash];
return write(credentials, transaction, function, params);
}