 Transaction should be sign before converting. Returns: JSON stringify of transaction data. Type String Example var acc = Account.NewAccount(); var tx = new Transaction({ chainID: 1, from: acc, to: \"n1SAeQRVn33bamxN4ehWUT7JGdxipwn8b17\", value: 10, nonce: 12, gasPrice: 1000000, gasLimit: 2000000 }); tx.signTransaction(); var txHash = tx.toString(); // \"{\"chainID\":1001,\"from\":\"n1QZMXSZtW7BUerroSms4axNfyBGyFGkrh5\",\"to\":\"n1SAeQRVn33bamxN4ehWUT7JGdxipwn8b17\",\"value\":\"1000000000000000000\",\"nonce