AsyncAPI channel · Blockchain.com · Blockchain.com WebSocket APIs

/inv#blocks_sub

Stream of newly mined Bitcoin blocks. Subscribe with `{"op":"blocks_sub"}`; unsubscribe with `{"op":"blocks_unsub"}`.

Provider: Blockchain.com AsyncAPI: v2.6.0 Spec: Blockchain.com WebSocket APIs Operations: 2 Messages: 3

Channel address

/inv#blocks_sub

Operations

publish
subscribeBlocks
Subscribe / unsubscribe to new block notifications.
receiveBlock
Receive block events for each newly mined block.

Messages

BitcoinOpBlocksSub
Subscribe to new blocks
Content-Type:
BitcoinOpBlocksUnsub
Unsubscribe from new blocks
Content-Type:
BitcoinBlockMessage
New Bitcoin block
Content-Type:

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.