moonshot token authorities

The query below fetches all the authorities such as mint authority, freeze authority and update authority. The 1st entry in the Accounts array is the mint and the freeze authority, 2nd entry in the Accounts array is the token address, and 3rd entry in the Accounts array is the update authority.

By Divyasshree · saved 23 September 2024 · Bitquery API v2

What it returns

Filters

The query

#The query below fetches all the authorities such as mint authority, freeze authority and update authority. 
# The 1st entry in the Accounts array is the mint and the freeze authority, 2nd entry in the Accounts array is the token address, and 3rd entry in the Accounts array is the update authority.


query MyQuery {
  Solana(network: solana, dataset: realtime) {
    Instructions(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Instruction: {Accounts: {includes: {Address: {is: "2SCtbuwM39YfrGRzyuNx1F2EynPsZiioWYhMz6R3FRJA"}}}, Program: {Name: {is: "token_launchpad"}}}}
    ) {
      Instruction {
        Accounts {
          Address
          Token {
            Mint
            Owner
          }
          IsWritable
        }
      }
    }
  }
}

Similar queries