Skip to main content

starknet_estimateFee

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

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.

Parameters

  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

Returns

The fee estimation