RPC Endpoints
Get your API key and start building in seconds
Speed up your application by utilizing CallStatic's global infrastructure of available RPCs.
1
2import { WebSocket } from 'ws';
3
4const ws = new WebSocket('wss://api.callstaticrpc.com/pumpfun/v1/streams');
5
6ws.send(JSON.stringify({
7 type: 'Subscribe',
8 payload: {
9 sub_type: 'Deployment'
10 }
11}));
12
13ws.on('message', async (data) => {
14 const { mint, name, symbol, total_supply } = JSON.parse(data);
15 console.log(`🚀 New token deployed: ${name} (${symbol}) ${mint} ${total_supply} `);
16});