(FINAL TESTED) Solana tokens created by a particular address with default(main) solana program

NOTE: If you want all the tokens created by the dev address on the solana network, remove the program address block under the instructions. If you use the query as is, it would not pick tokens created with a custom/different program. When looking for the tokens created by a particular dev's address, you should look for transactions where that address is the signer, but also with the instructions intializeMint1,2,3 and create. This is because the address may not be the signer for the create step for the tokens initialization

By Samuel Isirima · saved 12 December 2024 · run 54 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(network: solana) {
    Instructions(
      where: {Transaction: {Signer: {is: "5RU2yt6sb31NFUKszQ6u9QzVS1i35xsStUG8waYCmgpp"}, Result: {Success: true}}, Instruction: {Program: {Method: {in: ["initializeMint", "initializeMint2", "initializeMint3", "create", "pump"]}, Address: {is: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}}}}
    ) {
      Transaction {
        Signer
        Signature
      }
      Instruction {
        Accounts {
          Address
        }
      }
    }
  }
}

Similar queries