solana

Returns the latest 10 DEX trades by token on Solana, where currency smart contract is CpD3UH…pump: block number, block time, transaction hash, trade amount, trade price, buyer, seller and 6 more fields.

By 3223 · saved 2 November 2024 · Bitquery API v2

What it returns

Filters

The query

query SolanaPumpFunTrades {
  EVM(network: solana, mempool: true) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "CpD3UHcTHPkzfzKqAZprkBbM2nTbbgqddonYwco5pump"}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Number
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Amount
        Price
        Buyer
        Seller
        Currency {
          SmartContract
          Symbol
          Name
        }
        Side {
          Amount
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries