Ne pas modifier la logique principale. Prendre ton temps. Respire profondément. Calme…
- User
Ne pas modifier la logique principale. Prendre ton temps. Respire profondément. Calme toi : Canevas skeleton Script real time fetch latest New Raydium feed .
NEW PAIRS/TRENDING PAGE
TOKEN symbol
Date creation
MAD - Mint Authority Disabled (Yes = green check, No = red x).
MFD - Freeze Authority Disabled (Yes = green check, No = red x).
Ensure you handle all logic needed and authentication as per the respective service's documentation.
LB - If the LP has been burned
T10: % of total supply owned by the top 10 holders.
Script original:
const { Connection, PublicKey } = require("@solana/web3.js");
const RAYDIUM_PUBLIC_KEY = "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8";
const SESSION_HASH = 'QNDEMO' + Math.ceil(Math.random() * 1e9); // Random unique identifier for your session let credits = 0;
const raydium = new PublicKey(RAYDIUM_PUBLIC_KEY); // Replace HTTP_URL & WSS_URL with QuickNode HTTPS and WSS Solana Mainnet endpoint const connection = new Connection(
HTTP_URL, { wsEndpoint:WSS_URL, httpHeaders: {"x-session-hash": SESSION_HASH} });// Monitor logs async function main(connection, programAddress) { console.log("Monitoring logs for program:", programAddress.toString()); connection.onLogs( programAddress, ({ logs, err, signature }) => { if (err) return;
codeif (logs && logs.some(log => log.includes("initialize2"))) { console.log("Signature for 'initialize2':", signature); fetchRaydiumAccounts(signature, connection); } }, "finalized" );}
// Parse transaction and filter data async function fetchRaydiumAccounts(txId, connection) { const tx = await connection.getParsedTransaction( txId, { maxSupportedTransactionVersion: 0, commitment: 'confirmed' });
code Assistant
- User
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.