⚡ We welcome businesses to test our enterprise-grade service

sol
Solana (SOL)

Method: POST slotSubscribe

dropdown

方法 RPC slotSubscribe 例如 Solana (SOL)

POST slotSubscribe

Method not allowed

订阅以随时由验证器处理插槽的任何时候接收通知

Parameters

-

Request

curl --location --request POST 'https://sol.getblock.io/mainnet' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "slotSubscribe",
"params": [],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}