These are chat archives for Nethereum/Nethereum

27th
Oct 2018
kirkilyduck
@kirkilyduck
Oct 27 2018 17:52
I have a fundamental question:
When I create a FunctionMessage class like this:
[Function("CheckAddress")]
public class CheckAddressFunctions : FunctionMessage
{
}
And I am calling this function from another class like this:
public async void scCheckAddress()
{
var caHandler = web3.Eth.GetContractTransactionHandler<CheckAddressFunction>();
var ca = new CheckAddressFunction();
var transactionReceipt = await caHandler.SendRequestAndWaitForReceiptAsync(contract.Address, ca);
}
How do I specify the caller address, gas, data, etc (like in web3.js {from : address, gas : 90000, data: '0x11'}) while calling the function above