Penagihan dan Batas Laju
How many credits does WebSocket events consume?
How many credits does WebSocket events consume?
How much faster is LaserStream WebSocket vs. standard Agave RPC-based WebSockets?
How much faster is LaserStream WebSocket vs. standard Agave RPC-based WebSockets?
transactionSubscribe, accountSubscribe yang disempurnakan) dari satu titik akhir yang didukung oleh infrastruktur streaming LaserStream.Pemutusan Koneksi dan Percobaan Ulang
Why are my WebSocket connections disconnecting?
Why are my WebSocket connections disconnecting?
- Implementasikan pemeriksaan kondisi: Kirim ping setiap menit agar koneksi tetap aktif
- Tambahkan logika penyambungan kembali: Sambungkan kembali secara otomatis saat koneksi terputus
- Gunakan pengelolaan koneksi yang tepat: Ikuti pola yang ditampilkan dalam dokumentasi WebSockets kami
Menggunakan WebSockets
What endpoints should I use for WebSockets?
What endpoints should I use for WebSockets?
wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY dan wss://devnet.helius-rpc.com/?api-key=YOUR_API_KEY. Titik akhir yang sama menyediakan metode langganan Solana standar dan ekstensi Helius (transactionSubscribe, accountSubscribe yang disempurnakan). Untuk WebSockets Solana tercepat, coba titik akhir Gatekeeper (Beta) yang baru: wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY.I used to call this 'Enhanced WebSockets' — is anything different?
I used to call this 'Enhanced WebSockets' — is anything different?
transactionSubscribe) kini menjadi bagian dari LaserStream WebSocket, yang disediakan dari titik akhir wss://mainnet.helius-rpc.com / wss://devnet.helius-rpc.com yang sama bersama metode Solana standar. URL /enhanced-websockets/* lama dialihkan ke lokasi baru di bawah /rpc/websocket/*.What is the maximum number of active WebSocket connections?
What is the maximum number of active WebSocket connections?
Why is my client not receiving some WebSocket updates?
Why is my client not receiving some WebSocket updates?
Can I subscribe to multiple accounts using the same WebSocket connection?
Can I subscribe to multiple accounts using the same WebSocket connection?
accountSubscribe menggunakan koneksi WebSocket yang sama.How do I subscribe to full transactions using WebSockets?
How do I subscribe to full transactions using WebSockets?
transactionSubscribe milik Helius, tetapkan transactionDetails: "full" dalam opsi langganan Anda:logsSubscribe atau signatureSubscribe sesuai kebutuhan pemantauan Anda. Lihat panduan WebSockets kami untuk contoh mendetail dari setiap jenis langganan.