Parsed Flashblocks

GetParsedBdnFlashBlockStream feed provides low-latency access to newly produced Flashblocks on the Base network, parsed into protobuf format for immediate use. Flashblocks are pre-confirmation blocks available before they are finalized on-chain and may differ from the final canonical chain.

This is real-time WS/gRPC, parsed Flashblocks data stream.

Service available via Cloud API only.

Stream Endpoint

  • Method: GetParsedBdnFlashBlockStream

  • Endpoint: wss://base.blxrbdn.com:5005/ws

Examples

Request

wscat -H "Authorization: <AUTH_HEADER>" \
  -c wss://base.blxrbdn.com:5005/ws \
  --wait 1000 \
  --execute '{"jsonrpc": "2.0", "id": 1, "method": "subscribe", "params": [  "GetParsedBdnFlashBlockStream", {} ]}'

Response (Flashblock Event)

  • Index 0 (with Base): Shows the Flashblock plus chain-level context (base).

  • Index 1–10 (without Base): Shows Flashblocks without repeating that extra context.

<<< {
    "jsonrpc": "2.0",
    "method": "subscribe",
    "params": {
        "subscription": "37cf3ac8-0c42-4de3-a846-93a57ac94192",
        "result": {
            "payloadId": "0x03272df0619d2be6",
            "index": "0",
            "base": {
                "parentBeaconBlockRoot": "0x18e999429d02c29d269f6bbb0582c44d89b3a7780566326d7f751b2b80cac47d",
                "parentHash": "0xca8312d76b76b1a7c8991726f58c24295753012992bb0441bf7851bd5b37963a",
                "feeRecipient": "0x4200000000000000000000000000000000000011",
                "prevRandao": "0x40f3b694983ecb78f706b5a3a7c8b3a44131751ee1b83d5c78109640ef1cf29d",
                "blockNumber": "0x292e37e",
                "gasLimit": "0x165a0bc0",
                "timestamp": "0x69b023df",
                "extraData": "0x010000007d0000000600000000004c4b40",
                "baseFeePerGas": "0x1a9ec2e"
            },
            "diff": {
                "stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "receiptsRoot": "0x9ab33608eaedfbd6777eeaac90ccef8e418fa17186cc3c4ccd007108c830a73b",
                "logsBloom": "0x00000000...",
                "gasUsed": "0xb48a",
                "blockHash": "0x0196aa157b9bd34cf62267190902e82a53a049688094b81309b94bbe01cb6f5a",
                "transactions": [
                    "0x7ef90106a0f4..."
                ],
                "withdrawals": [],
                "withdrawalsRoot": "0x59b8ad53c839a066fe3def07c96160ed622eadb469c61bf7de0e5d9938f406ad",
                "blobGasUsed": "0x0"
            },
            "metadata": {
                "blockNumber": "43180926",
                "newAccountBalances": {
                    "0x0000f90827f1c53a10cb7a02335b175320002935": "0x0",
                    "0x000f3df6d732807ef1319fb7b8bb8522d0beac02": "0x0",
                    "0x4200000000000000000000000000000000000015": "0x0",
                    "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001": "0x6940facfde7aa"
                },
                "receipts": {
                    "0x1e8d6e55ef7cf8d2dae3c90b853033612fb2faaf0a67a23884f2b21db8361a3b": {
                        "cumulativeGasUsed": "0xb48a",
                        "logs": [],
                        "status": "0x1",
                        "type": "0x7e",
                        "depositNonce": "0x292e381",
                        "depositReceiptVersion": "0x1"
                    }
                }
            }
        }
    }
}

Last updated