Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Custom BundleResult type #8

Open
mempirate opened this issue Jun 12, 2021 · 0 comments
Open

Custom BundleResult type #8

mempirate opened this issue Jun 12, 2021 · 0 comments

Comments

@mempirate
Copy link
Owner

Problem
Current simulation / submission results are not easy to parse. If you have submitted a bundle of multiple transactions, you will have to loop over all of them to check for a revert.

Solution
We can immediately find the revert, add a revert: boolean field and a revertIndex: number field to the response to make it easier to parse.

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

No branches or pull requests

1 participant