@@ -239,15 +239,17 @@ export class RpcProvider implements ProviderInterface {
239
239
public async getEstimateFee (
240
240
invocation : Invocation ,
241
241
invocationDetails : InvocationsDetailsWithNonce ,
242
- blockIdentifier ?: BlockIdentifier
242
+ blockIdentifier ?: BlockIdentifier ,
243
+ skipValidate ?: boolean
243
244
) {
244
- return this . getInvokeEstimateFee ( invocation , invocationDetails , blockIdentifier ) ;
245
+ return this . getInvokeEstimateFee ( invocation , invocationDetails , blockIdentifier , skipValidate ) ;
245
246
}
246
247
247
248
public async getInvokeEstimateFee (
248
249
invocation : Invocation ,
249
250
invocationDetails : InvocationsDetailsWithNonce ,
250
- blockIdentifier ?: BlockIdentifier
251
+ blockIdentifier ?: BlockIdentifier ,
252
+ skipValidate ?: boolean
251
253
) {
252
254
return this . channel
253
255
. getEstimateFee (
@@ -258,15 +260,16 @@ export class RpcProvider implements ProviderInterface {
258
260
...invocationDetails ,
259
261
} ,
260
262
] ,
261
- { blockIdentifier }
263
+ { blockIdentifier, skipValidate }
262
264
)
263
265
. then ( this . responseParser . parseFeeEstimateResponse ) ;
264
266
}
265
267
266
268
public async getDeclareEstimateFee (
267
269
invocation : DeclareContractTransaction ,
268
270
details : InvocationsDetailsWithNonce ,
269
- blockIdentifier ?: BlockIdentifier
271
+ blockIdentifier ?: BlockIdentifier ,
272
+ skipValidate ?: boolean
270
273
) {
271
274
return this . channel
272
275
. getEstimateFee (
@@ -277,15 +280,16 @@ export class RpcProvider implements ProviderInterface {
277
280
...details ,
278
281
} ,
279
282
] ,
280
- { blockIdentifier }
283
+ { blockIdentifier, skipValidate }
281
284
)
282
285
. then ( this . responseParser . parseFeeEstimateResponse ) ;
283
286
}
284
287
285
288
public async getDeployAccountEstimateFee (
286
289
invocation : DeployAccountContractTransaction ,
287
290
details : InvocationsDetailsWithNonce ,
288
- blockIdentifier ?: BlockIdentifier
291
+ blockIdentifier ?: BlockIdentifier ,
292
+ skipValidate ?: boolean
289
293
) {
290
294
return this . channel
291
295
. getEstimateFee (
@@ -296,7 +300,7 @@ export class RpcProvider implements ProviderInterface {
296
300
...details ,
297
301
} ,
298
302
] ,
299
- { blockIdentifier }
303
+ { blockIdentifier, skipValidate }
300
304
)
301
305
. then ( this . responseParser . parseFeeEstimateResponse ) ;
302
306
}
0 commit comments