All trades on ethereum

Returns the latest 10 DEX trades by token on Ethereum: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 6 more fields.

By Divyasshree N · saved 23 January 2024 · run 2 times · Bitquery API v2

What it returns

The query

query ($network: evm_network, $limit: Int) {
  EVM(network: $network, dataset: archive) {
    DEXTradeByTokens(orderBy: {descending: Block_Time}, limit: {count: $limit}) {
      ChainId
      Block {
        Number
        Time
      }
      Trade {
        Seller
        Buyer
        Amount
        Currency {
          SmartContract
          Symbol
        }
        Price
        Side {
          Amount
          Currency {
            SmartContract
            Symbol
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{"network":"eth","limit":10,"offset":0}

Similar queries