Last Price evm

Returns the latest DEX trades by token on BNB Chain, where currency smart contract is 0x37e5…63B1 and trade price is above 0: block time, currency symbol, currency name, smart contract, price in USD, trade price, amount in USD and 9 more fields.

By Mariusz · saved 14 September 2025 · Bitquery API v2

What it returns

Filters

The query

query GetTokenPricesAllDEXes($network: evm_network, $token: String) {
  EVM(network: $network) {
    DEXTradeByTokens(
      orderBy: { descending: Block_Time }
      limitBy: { by: Trade_Dex_OwnerAddress, count: 1 }
      where: {
        Trade: { 
          Currency: { SmartContract: { is: $token } }
          Price: { gt: 0 }
        }
        TransactionStatus: { Success: true }
      }
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Symbol
          Name
          SmartContract
        }
        PriceInUSD
        Price
        AmountInUSD
        Amount
        Side {
          Currency {
            Symbol
            Name
            SmartContract
          }
          AmountInUSD
          Amount
        }
        Dex {          
          OwnerAddress
          ProtocolFamily
          ProtocolName
          SmartContract
        }
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "token": "0x37e5da11b6A4DC6d2f7Abe232cDd30B0B8Fc63B1"
}

Similar queries