services/transaction/estimate_gas.js
function (params) {
  const oThis = this
  ;

  oThis.contractName = params.contract_name;
  oThis.contractAddress = params.contract_address;
  oThis.chain = params.chain;
  oThis.senderAddress = params.sender_address;
  oThis.methodName = params.method_name;
  oThis.methodArguments = params.method_arguments;
}
function (params) {
  const oThis = this
  ;

  oThis.contractName = params.contract_name;
  oThis.contractAddress = params.contract_address;
  oThis.chain = params.chain;
  oThis.senderAddress = params.sender_address;
  oThis.methodName = params.method_name;
  oThis.methodArguments = params.method_arguments;
}
function ( params ) { const oThis = this ; oThis . contractName = params . contract_name ; oThis . contractAddress = params . contract_address ; oThis . chain = params . chain ; oThis . senderAddress = params . sender_address ; oThis . methodName = params . method_name ; oThis . methodArguments = params . method_arguments ; }
Estimate gas for a transaction service constructor

@param {object} params
@param {string} params.contract_name - Name of the contract having the method which needs to be called
@param {string} params.contract_address - Address of the contract
@param {string} params.chain - Chain on which the contract was deployed
@param {string} params.sender_address - sender address
@param {string} params.method_name - name of the method which needs to be called
@param {string} params.method_arguments - arguments to be passed to the method

@constructor
Estimate gas for a transaction service constructor