Validate Transaction (Mempool) #615
-
Did you check the documentation?
Did you check for duplicate questions?
Issue Description🤔🤔🤔 Additional InformationNo response FeedbackNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
possible to hack op stack,you need to write the code yourself,theres no production ready code of transaction whitelist/filter |
Beta Was this translation helpful? Give feedback.
-
You may need to modify the This function should do this job As OP Stack is based on centralized sequencer, I think this should work |
Beta Was this translation helpful? Give feedback.
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 invalidThis 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