Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support estimate_fee_bulk #63

Open
tarrencev opened this issue Nov 27, 2022 · 4 comments
Open

Support estimate_fee_bulk #63

tarrencev opened this issue Nov 27, 2022 · 4 comments

Comments

@tarrencev
Copy link

Is there a plan to add support for this to the rpc api?

@Mirko-von-Leipzig
Copy link
Contributor

Is it defined somewhere?

What is the difference between this and multiple / batch estimate fee requests?

@tarrencev
Copy link
Author

@Mirko-von-Leipzig it was released in 0.10.2. It's not very well documented but there is a good example here: https://github.com/xJonathanLEI/starknet-rs/blob/9eb34170792445c7af2fdab7c40aa4a33f6316e9/starknet-core/test-data/raw_gateway_responses/generate_responses.sh#L146

Basically, it will estimate a bulk transaction fee for sequential transactions w.r.t the incremental state updates

@Mirko-von-Leipzig
Copy link
Contributor

Basically, it will estimate a bulk transaction fee for sequential transactions w.r.t the incremental state updates

Oh that will be fun to implement.. :/ Okay thanks, I understand now. FYI unclear if issues in this repo are monitored at all. Might be best to tag someone.

@Mirko-von-Leipzig
Copy link
Contributor

This has been added in the upcoming specification version v0.3. Both starknet_estimateFee and starknet_simulate now require an array of txs. This is supported in pathfinder already with the v0.3 RPC API.

starknet_estimateFee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants