Ask a Question
Back to All

Does Alchemy's Solana endpoint support logsSubscribe ?

I was trying to query logsSubscribe using solana cli using the below command

solana logs <address> --ws wss://solana-devnet.g.alchemy.com/v2/<My-Alchemy-API-Key>

but it returns the below error

Streaming transaction logs mentioning 9SNdwhMrxADTVkakYPUe6pDD9rXdbQn4eFUGwoSrhuns. Confirmed commitment
Error: unexpected message format: {"error": Object({"code": Number(-32601), "message": String("Unsupported subscription method: logsSubscribe")}), "id": Number(1), "jsonrpc": String("2.0")}