Skip to main content
Subscribe to receive each transaction as it is preconfirmed. Pass true as the second parameter to receive full transaction and log data in each message.
This method is only available on Flashblocks-aware endpoints. Connect to https://mainnet-preconf.base.org (or https://sepolia-preconf.base.org) to use it.
Requires base/base minimum client version v0.3.1.

Parameters

subscriptionType
string
required
Must be "newFlashblockTransactions".
full
boolean
Optional. If true, each notification includes the full transaction object and associated logs. If false or omitted, notifications contain minimal transaction data.

Returns

result
string
Hex-encoded subscription ID.

Example

{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newFlashblockTransactions"]}