query nft trades Raydium Liquidity Pool V4

Returns one DEX trade on Solana, where DEX protocol name is Raydium Liquidity Pool V4 and buy asset symbol is $WIF: transaction signature, accounts address, account names, protocol name, buy amount, buy decimals, buy fungible and 17 more fields.

By Aleksey · saved 4 April 2024 · run 7 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      limit: {count: 1}
      where: {Trade: {Dex: {ProtocolName: {is: "Raydium Liquidity Pool V4"}}, Buy: {Asset: {Symbol: {is: "$WIF"}}}}}
    ) {
      Transaction {
        Signature
      }
      Instruction {
        Accounts {
          Address
        }
        Program {
          AccountNames
        }
      }
      Trade {
        Dex {
          ProtocolName
        }
        Buy {
          Amount
          Asset {
            Decimals
            Fungible
            MintAddress
            Name
            Native
            Wrapped
            ProgramAddress
            Symbol
            TokenStandard
            Uri
          }
        }
        Sell {
          Amount
          Asset {
            Decimals
            Fungible
            MintAddress
            Name
            ProgramAddress
            Symbol
            TokenStandard
            Uri
          }
        }
      }
    }
  }
}

Similar queries