This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const solanaWeb3 = require('@solana/web3.js'); | |
const rpc = "https://ssc-dao.genesysgo.net"; | |
const magicEdenPubKey = new solanaWeb3.PublicKey("M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K") | |
const solanaConnection = new solanaWeb3.Connection(rpc, 'confirmed'); | |
const runMagicEdenParser = async () => { | |
// get latest 1000 transactions happening on Magic Eden | |
const magicEdenSignatures = await solanaConnection.getSignaturesForAddress(magicEdenPubKey); |