Skip to content

Commit 57a515a

Browse files
authored
docs: fix transactionStatus response objects and update node-reth repo name (#990)
* fix txStatus response objects and update node-reth repo name * fix enum
1 parent 03e069e commit 57a515a

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

docs/base-chain/flashblocks/apps.mdx

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ curl https://sepolia-preconf.base.org -X POST -H "Content-Type: application/json
204204

205205
Subscribe to real-time streams of Flashblocks data via WebSocket. Three subscription types are available:
206206

207-
<Note>Requires node-reth minimum client version v0.3.0</Note>
207+
<Note>Requires [base/base](https://github.com/base/base) minimum client version v0.3.0</Note>
208208

209209
- **pendingLogs** - Stream logs from transactions in Flashblocks
210210
- **newFlashblockTransactions** - Stream transaction hashes included in the block
@@ -258,18 +258,29 @@ ws.on('close', () => {
258258

259259
Check whether a transaction is present in the mempool:
260260

261-
<Note>Requires node-reth minimum client version v0.3.0</Note>
261+
<Note>Requires [base/base](https://github.com/base/base) minimum client version v0.3.0</Note>
262262
```
263263
curl https://sepolia-preconf.base.org -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"base_transactionStatus","params":["0x..."],"id":1}'
264264
```
265265

266-
**Example Response**
266+
**Transaction Known**
267+
```
268+
{
269+
"jsonrpc": "2.0",
270+
"id": 1,
271+
"result": {
272+
"status": "Known"
273+
}
274+
}
275+
```
276+
277+
**Transaction Unknown**
267278
```
268279
{
269280
"jsonrpc": "2.0",
270281
"id": 1,
271282
"result": {
272-
"status": "pending"
283+
"status": "Unknown"
273284
}
274285
}
275286
```

0 commit comments

Comments
 (0)