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
Copy file name to clipboardExpand all lines: src/api/methods.ts
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -205,10 +205,7 @@ type ReadMethods = {
205
205
206
206
/**
207
207
* Estimate the fee for Starknet transactions
208
-
*
209
-
* Estimates the resources required by a given sequence of transactions when applied on a given state.
210
-
* If one of the transactions reverts or fails due to any reason (e.g. validation failure or an internal error),
211
-
* a TRANSACTION_EXECUTION_ERROR is returned. For v0-2 transactions the estimate is given in wei, and for v3 transactions it is given in fri.
208
+
* Estimates the resources required by a given sequence of transactions when applied on a given state. If one of the transactions reverts or fails due to any reason (e.g. validation failure or an internal error), a TRANSACTION_EXECUTION_ERROR is returned.
212
209
*/
213
210
starknet_estimateFee: {
214
211
params: {
@@ -304,7 +301,7 @@ type ReadMethods = {
304
301
/**
305
302
* The hash of the requested block, or number (height) of the requested block, or a block tag
306
303
*/
307
-
block_id: BLOCK_ID;
304
+
block_id: SUBSCRIPTION_BLOCK_ID;
308
305
/**
309
306
* a list of the class hashes for which we want to prove membership in the classes trie
310
307
*/
@@ -326,7 +323,7 @@ type ReadMethods = {
326
323
};
327
324
328
325
/**
329
-
* Get the contract class definition in the given block associated with the given hash
326
+
* Get the CASM code resulting from compiling a given class
0 commit comments