rizzTech_any

Returns DEX trades on Solana, where buy currency mint address is S6Yfqk…pump and sell currency mint address is S6Yfqk…pump: method, protocol family, protocol name, program address, buy amount, buy account address, buy currency name and 17 more fields.

By George · saved 13 August 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      where: {Transaction: {Result: {Success: true}}, any: {Trade: {Buy: {Currency: {MintAddress: {is: "S6Yfqkdw6i2ea9qmRkxfQKfiyG9NySrSmwgx5Unpump"}}}, Sell: {Currency: {MintAddress: {is: "S6Yfqkdw6i2ea9qmRkxfQKfiyG9NySrSmwgx5Unpump"}}}}}}
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
          ProgramAddress
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
          AmountInUSD
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
          AmountInUSD
        }
      }
      Transaction {
        Signature
        Signer
      }
    }
  }
}

Similar queries