Starknet OpenRPC specFor the latest version of the publicly maintained OpenRPC spec, see the Starknet specs GitHub repo.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
request
— the transaction to estimate.block_id
— the hash of the requested block, or number (height) of the requested block, or a block tag, for the block referencing the state or call the transaction on.
Response
result
— the fee estimation.
Use case
A practical use case forstarknet_estimateFee
is to calculate the fee required for a transaction that interacts with a contract on Starknet. The fee is an important factor in transactions, as it determines the amount of fees that need to be paid by the sender to the network for processing the transaction.
Deprecated feeder gateway method
The feeder gateway was deprecated on December 11, 2023. Example of the call you had to make to the feeder gateway before the deprecation:Shell
Response
200
Successful response