Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions docs/base-chain/flashblocks/apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ curl https://sepolia-preconf.base.org -X POST -H "Content-Type: application/json

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

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

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

Check whether a transaction is present in the mempool:

<Note>Requires node-reth minimum client version v0.3.0</Note>
<Note>Requires [base/base](https://github.com/base/base) minimum client version v0.3.0</Note>
```
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**
**Transaction Known**
```
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"status": "Known"
}
}
```

**Transaction Unknown**
```
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"status": "pending"
"status": "Unknown"
}
}
```
Expand Down