setCode method

Transaction setCode(
  1. String code
)

Add smart contract code to the transaction @param {String} code Smart contract code

Implementation

Transaction setCode(String code) {
  data!.code = code;
  return this;
}