makeInitTx method

Future<Transaction> makeInitTx (int gasPrice, int gasLimit, Address payer)

Implementation

Future<Transaction> makeInitTx(
    int gasPrice, int gasLimit, Address payer) async {
  var b = TxBuilder();
  var fn = 'init';
  return b.makeInvokeTx(fn, [], contract,
      gasPrice: gasPrice, gasLimit: gasLimit, payer: payer);
}