Copy of Conew py of Get newly created tokens on Solana

Streams instructions on Solana and Ethereum as they happen, where program address is Tokenk…Q5DA and program method is initializeMint or initializeMint2: accounts address, is writable, token mint, token owner, program ID, account names, program address and 2 more fields.

By Rajah Cotton · saved 11 February 2025 · Bitquery API v1

What it returns

Filters

The subscription

subscription {
  Solana {
    Instructions(
      where: {Instruction: {Program: {Address: {is: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}, Method: {in: ["initializeMint", "initializeMint2"]}}}, Transaction: {Result: {Success: true}}}
    ) {
      Instruction {
        Accounts {
          Address
          IsWritable
          Token {
            Mint
            Owner
            ProgramId
          }
        }
        Program {
          AccountNames
          Address
        }
      }
      Transaction {
        Signature
        Signer
      }
    }
  }
  ethereum
}

Similar queries