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. Fees for account transactions are expressed in fri.
Path Parameters
docs-demoFor higher throughput, create your own API key
Request
The transaction to estimate
A sequence of transactions to estimate, running each transaction on the state resulting from applying all the previous ones
A transaction that has been broadcasted to the network
Describes what parts of the transaction should be executed
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.
Block hash, number or tag
Responses
200
The fee estimations
A sequence of fee estimations where the i'th estimate corresponds to the i'th transaction