var transactionInput = new TransactionInput
{
From = account.Address,
To = receiverAddress,
Value = new HexBigInteger(0),
Data = tx_data,
Gas = new HexBigInteger(150000),
GasPrice = new HexBigInteger(2000000000)
};
var txnSigned = await web3.Eth.TransactionManager.SignTransactionAsync(transactionInput);
var txnHash = TransactionUtils.CalculateTransactionHash(txnSigned);
and a smart contract sample using a FunctionMessage...
var transactionInput = new TransactionInput { From = account.Address, To = receiverAddress, Value = new HexBigInteger(0), Data = tx_data, Gas = new HexBigInteger(150000), GasPrice = new HexBigInteger(2000000000) }; var txnSigned = await web3.Eth.TransactionManager.SignTransactionAsync(transactionInput); var txnHash = TransactionUtils.CalculateTransactionHash(txnSigned);
and a smart contract sample using a FunctionMessage...