We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c2182 commit 5aba496Copy full SHA for 5aba496
docs.wrm/migrating.wrm
@@ -249,6 +249,21 @@ _code: Create a Provider on a static network @lang<script>
249
staticNetwork: true
250
});
251
252
+_null:
253
+
254
+Since the fees for Ethereum chains has become more complicated,
255
+all Fee parameters in v6 were coalesced into a single `.getFeeData`
256
+method. While `gasPrice` is no longer widely used in modern networks,
257
+when using a legacy network, it is available using that method.
258
259
+_code: Getting legacy gas price @lang<script>
260
+ // v5
261
+ await provider.getGasPrice()
262
263
+ // v6
264
+ (await provider.getFeeData()).gasPrice
265
266
267
_subsection: Signatures @<migrate-signatures>
268
269
The Signature is now a class which facilitates all the parsing
0 commit comments