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
OBJECT
- The transaction call objectcontract_address -
Address the transaction is sent fromentry_point_selector -
Smart contract entry pointscall_data -
The hash of method signature and encoded parameters.
BLOCK_PARAM
- Expected one ofblock_number
,block_hash
,latest
,pending
Returns
The fee estimation