create method

Future<Transaction> create ()

Implementation

static Future<Transaction> create() async {
  var tx = Transaction();
  tx.payer =
      await Address.fromValue('0000000000000000000000000000000000000000');
  tx.nonce = Convert.bytesToHexStr((await Buffer.random(4)).bytes);
  return tx;
}