Messages
{
"jsonrpc": "2.0",
"id": 1,
"method": "blockSubscribe",
"params": [
"all"
]
}Websockets
Block subscribe
Subscribe to blocks matching the account filter at the requested commitment. Save the subscription ID returned in result and match it against params.subscription in notifications. Use blockUnsubscribe on the same connection to stop the stream.
WSS
/
Messages
{
"jsonrpc": "2.0",
"id": 1,
"method": "blockSubscribe",
"params": [
"all"
]
}api_key
type:httpApiKey
API key for authentication. Provide your Solana Tracker API key as a query parameter.
blockSubscribe
type:object
Subscribe to block notifications
Was this page helpful?