get-metadata-pancakeswap

Returns the latest DEX trade by token on BNB Chain, where currency smart contract is 0x0e09…ce82 and DEX owner address is 0x0bfb…1865: currency name, currency symbol, smart contract, protocol name, has URI, fungible and decimals.

By Divyasshree · saved 5 November 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: bsc, dataset: realtime) {
    DEXTradeByTokens(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {SmartContract: {is: "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}}, Dex: {OwnerAddress: {is: "0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865"}}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          SmartContract
          ProtocolName
          HasURI
          Fungible
          Decimals
        }
      }
    }
  }
}

Similar queries