Estimates the resources required by a transaction relative to a given state

The starknet_estimateFee command is used to estimate the necessary resources for a specific transaction.


  1. OBJECT - The transaction call object

    • contract_address - Address the transaction is sent from

    • entry_point_selector -Smart contract entry points

    • call_data -The hash of method signature and encoded parameters.

  2. BLOCK_PARAM - Expected one of block_number, block_hash, latest, pending


The fee estimation

Last updated