setDeployPayload method

Contract setDeployPayload({
  1. BigInt? gasPrice,
  2. int? gasLimit,
  3. bool toDS = false,
})

Implementation

Contract setDeployPayload(
    {BigInt? gasPrice, int? gasLimit, bool toDS = false}) {
  Map add = {
    'gasPrice': gasPrice,
    'gasLimit': gasLimit,
  };
  Map params = Map.from(this.deployPayload);
  params.addAll(add);

  this.transaction =
      new Transaction(params: params, messenger: this.messenger, toDS: toDS);

  return this;
}