Repository navigation
docs(protect): correct the Transaction Status API page - #662
Merged
Merged
Conversation
…simError names, drop Sepolia) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…a RPC row Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
bakhtin
approved these changes
Nov 19, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vibe-coded with an AI agent: please rewrite if you know a better way.
Brings the Transaction Status API page in line with what the API does today, and removes the deprecated Sepolia endpoints. Two files, wording only.
Changes
status-api.mdprotect-sepolia.flashbots.net/tx/returns 502.UNKNOWNdescription to match.transactionfields are only disclosed forINCLUDEDtransactions, and fill in those fields in thePENDINGexample. The handler returns them for every transaction it finds.simErrorvalues the API returns: noSimErrorprefix,InvalidChainIdForSignerin place ofInvalidChainId, and a newOtherrow.quick-start.mdxHow this was checked
Against the code:
simErrorvalues:protect-status-api/domain/sim.goat57c5905.transactionfields:protect-status-api/ports/handler.gobuilds them from the stored transaction for every status.protect-of-api/adapters/redisstore/redisstore.goat7e13fdewrites each record with a default TTL of one hour (PRIVATE_TXS_REDIS_TTLcan override it). The page says 45 minutes to leave a margin.Against the live API, 2026-11-18, 223 sampled Protect submissions looked up at
https://protect.flashbots.net/tx/<hash>:INCLUDEDorFAILED.UNKNOWN.FAILEDresponses had thetransactionfields filled in, 24 of them withfastMode: false.Please check
The
PENDINGexample with filled-in fields follows the handler code. A live pending response was not observed.If production sets
PRIVATE_TXS_REDIS_TTLto something other than the default, correct the 45 minutes.🤖 Generated with Claude Code