Block

The Block stream provides updates about newly added blocks

GET /blocks

Optional properties

None

Query params

Property
Type
Description

proposer_public_key

string

Comma-separated list of public keys

Events

Event
Description

created

Notifies about a newly added block

Response

WebSocketMessage<Block>

Example

wscat -c 'wss://streaming.testnet.cspr.cloud/blocks?proposer_public_key=013fab19aaf6a5a4ce4adeab0f5a9f16e3e977521ca6edb846122a8913a2b5c2b8' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'

Last updated