Open antiyro opened 1 year ago
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!
can i take this one Boss ?
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!
Issue: Implement
starknet_estimateFee
RPC CallDescription:
The
starknet_estimateFee
RPC call has been implemented but requires further testing and verification against the entire state. This RPC call estimates the resources required by transactions when applied on a given state.Parameters:
request
: The transaction(s) to estimate. This is a sequence of transactions to estimate, running each transaction on the state resulting from applying all the previous ones. This parameter is required.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. This parameter is required.Expected Result:
A sequence of fee estimations where the i'th estimate corresponds to the i'th transaction.
Potential Errors:
CONTRACT_NOT_FOUND
: The specified contract could not be found.CONTRACT_ERROR
: An error occurred in the contract.BLOCK_NOT_FOUND
: The specified block could not be found.Testing:
Initial testings can be found here. However, these should not be considered complete and improvements are welcome.
Resources:
Comments:
Please comment below for coordination.