These are chat archives for Nethereum/Nethereum

28th
Oct 2018
Enigmatic
@EnigmaticUnreal_twitter
Oct 28 2018 05:34
@DaChampR_twitter - Sort of recall a couple months back @Pzixel had a similar issue. Maybe I could look for his message to see if that helps you.
Enigmatic
@EnigmaticUnreal_twitter
Oct 28 2018 05:46

@kirkilyduck - Caveat is I haven't tested this myself on C# yet (for some reason I can't seem to find any of my C# boilerplates on this machine, so I'll build one now), but perhaps the below example would help?

https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.Signer.AzureKeyVault.Console/Program.cs

Noticed that var = new TransferFunction() was able to specify gasPrice, gas, etc. So I guess these are part of TransferFunctionBase : FunctionMessage
That said, I'm gonna see how this works.
Enigmatic
@EnigmaticUnreal_twitter
Oct 28 2018 07:14
image.png

Base class is ContractMessageBase, so you should be able to specify:

ca.GasPrice = 10000000000;
ca.FromAddress = 0x0000000000000000000000000000000000000000;

etc @kirkilyduck