You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gas price (Gas price per unit of gas) is not a static number, Please send that as null or try to get the gas price with getGasPrice() web3dart function.
Amount of max gas is also static which is not recommended since that is going to differ from tx to tx depending on the kind of tx, You can also get gas estimation with estimateGas() function by passing tx details.
Value also seems to be unknown type or value plz check that too
I have Signed Transaction Like this
var response = await client.sendTransaction(
credentials,
chainId: chainId,
Transaction(
from: address,
to: EthereumAddress.fromHex(_recieverAddressController.text.trim()),
gasPrice: EtherAmount.inWei(BigInt.one),
maxGas: 100000,
value: EtherAmount.inWei(BigInt.from(weiUnit)),
),
);
The text was updated successfully, but these errors were encountered: