I am trying to deploy smart contract in Ethereum network using Nethereum (c#) library.
var abi = "[ABI...]";
var bytecode = "0x00...";
var gas = await web3.Eth.DeployContract.EstimateGasAsync(abi, bytecode, publicKey, "Zuk04");
await web3.Eth.DeployContract.SendRequestAsync(abi, bytecode, publicKey, gas, new HexBigInteger("0"), "Zuk01");
How can I get notification and contract address when it will be deployed ?
I know that SendRequestAndWaitForReceiptAsync() function exists, but in real scenario this approach may take long period, so I need something like an event (contract deployment event).