Pumpfun pools token balances

Returns balance updates on Solana, where token owner is BesTLF…ECuf, 62dvmM…faEQ or 4 more and block time since 2024-06-25: token owner, account address, currency mint address, native and post balance.

By Aleksey · saved 25 June 2024 · run 226 times · Bitquery API v2

What it returns

Filters

The query

query PumpFunRecentTrades($from: DateTime, $pools: [String!] ) {
  Solana {
    BalanceUpdates(
    
      where: { 
        Block: {
          Time: {
            since: $from
          }
        }
        
       BalanceUpdate: {
        Account: {
          Token: {
            Owner: {
              in: $pools
            }
          }
        },
        Currency: {
          Native: false
        }
      }
        
      }
    ) {
    		BalanceUpdate {
          Account {
            Token {
              Owner
            }
            Address
          }
          
          Currency {
            MintAddress
            Native
          }
          PostBalance(maximum: Block_Slot)
          
        }
      }
  }
}

Variables

{
  "from": "2024-06-25T07:00:00Z",
  "pools": [
    "BesTLFfCP9tAuUDWnqPdtDXZRu5xK6XD8TrABXGBECuf",
    "62dvmMKAfnt8jSdT3ToZtxAasx7Ud1tJ6xWsjwwhfaEQ",
    "73ZzSgNi27V9MdNQYyE39Vs9m1P9ZKgGPCHAJHin5gLd",
    "DwPwU1PAjTXtYNYkeR6awYMDBdSEk12npKzJWKbDHMta",
    "FJ4P2a2FqaWmqYpBw9eEfWD6cXV3F2qLPHvAA5jozscS",
    "6crUHiCoxZsQuxdMAB18VATKrg7ToyTVxt7MbLYmtugu"
  ]
}

Similar queries