API Reference

starknet_estimateFee

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. For v0-2 transactions the estimate is given in wei, and for v3 transactions it is given in fri.

Log in to see full request history
Path Params
string
required
Defaults to public

For higher throughput, please create your own API key.

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to starknet_estimateFee
params
array
length between 3 and 3
Defaults to [object Object],SKIP_VALIDATE,[object Object]
params
Response

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json