Flashblocks Statediff

GetBdnFBTxnStateDiffStream feed provides low-latency access to transaction state diffs for newly produced Flashblocks on the Base network, parsed into protobuf format for immediate use. Transaction state diffs show the changes each transaction makes to chain state before finalization.

This is a real-time WS/gRPC, transaction state diff data stream.

Service available via Cloud API only.

circle-info

Note: state diffs may arrive in a different order than transactions are executed; each response includes a blockPosition field for ordering.

Stream Endpoint

  • Method: GetBdnFBTxnStateDiffStream

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

Parameters

Parameter
Description
Instructions & Notes

addresses

Stream transaction traces that mention one of these addresses

[Optional] List of strings. If omitted, the stream includes state diffs of all transactions.

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": [  "GetBdnFBTxnStateDiffStream", {} ]}'

Response (txn state diff)

Full response details & format can be found here: https://github.com/bloXroute-Labs/base-streamer-proto/blob/develop/proto/streamer_api.protoarrow-up-right

Last updated