-
Notifications
You must be signed in to change notification settings - Fork 472
feat: introduce v0.3.0 RPCs #989
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
Conversation
✅ Heimdall Review Status
|
| #### base_transactionStatus <Badge color="orange" shape="rounded">Beta</Badge> | ||
|
|
||
| Check whether a transaction is present in the mempool: | ||
| ``` | ||
| curl https://sepolia-preconf.base.org -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"base_transactionStatus","params":["0x..."],"id":1}' | ||
| ``` | ||
|
|
||
| **Example Response** | ||
| ``` | ||
| { | ||
| "jsonrpc": "2.0", | ||
| "id": 1, | ||
| "result": { | ||
| "status": "pending" | ||
| } | ||
| } | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a place we can put this outside of the flashblocks file? If not no worries, I think we need to reorg these docs soon too @roethke
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will soon have an API references section within our docs that can house this.
What changed? Why?
eth_subscribeandbase_transactionStatusNotes to reviewers
How has it been tested?
base_transactionStatusby using the same command in the.mdxon a random txn hash on Base Sepolia and it returned a resulteth_subscribeby taking the same sample code in the.mdxand running it locally on my laptop