Skip to content

Validate Transaction (Mempool) #615

Closed Answered by Chomtana
ricore77 asked this question in Application Development
Discussion options

You must be logged in to vote

You may need to modify the eth_sendRawTransaction endpoint of op-geth to check for your transaction validation requirement and return some error if it's invalid

This function should do this job
https://github.com/ethereum-optimism/op-geth/blob/8af19cf20261c0b62f98cc27da3a268f542822ee/eth/api_backend.go#L295-L320

As OP Stack is based on centralized sequencer, I think this should work

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@ricore77
Comment options

@ricore77
Comment options

@imtipi
Comment options

Comment options

You must be logged in to vote
1 reply
@ricore77
Comment options

Answer selected by sbvegan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-development discussion-metrics Used by Github Action to gather discussion metrics on the question and answer section.
3 participants