wrong query

Returns 10 instructions on Solana, where program method is create: accounts address and token mint.

By Tomas · saved 5 January 2025 · run 47 times · Bitquery API v2

What it returns

Filters

The query

query getTokenMint($address: String!) {
    Solana {
      Instructions(
        limit: {count: 10}
        where: {
          Instruction: {
            Program: {
              Method: {is: "create"},
              AccountNames: {includes: {is: "mint"}}
            },
            Accounts: {
              includes: {
                Address: {in: [$address]}
              }
            }
          }
        }
      ) {
        Instruction {
          Accounts {
            Address
            Token {
              Mint
            }
          }
        }
      }
    }
  }

Variables

{
    "address": "F17XW6i7veqVpQrz1aTj35nGL3pmTX48hWM3YdZ61asb"
}

Similar queries