Skip to content

Commit 9cf2d56

Browse files
authored
Remove blocktag from eth_estimateGas (#86)
1 parent 75c6f5a commit 9cf2d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Thirdweb/Thirdweb.Transactions/ThirdwebTransaction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public static async Task<BigInteger> EstimateGasLimit(ThirdwebTransaction transa
269269
}
270270
else
271271
{
272-
var hex = await rpc.SendRequestAsync<string>("eth_estimateGas", transaction.Input, "latest").ConfigureAwait(false);
272+
var hex = await rpc.SendRequestAsync<string>("eth_estimateGas", transaction.Input).ConfigureAwait(false);
273273
return new HexBigInteger(hex).Value * 10 / 7;
274274
}
275275
}

0 commit comments

Comments
 (0)