LP price
Returns one DEX trade on Ethereum and BNB Chain, where smart contract address is 0x3702…50ec, exchange name is Pancake or Pancake v2 and date since 2021-07-07, sorted by block height trade index: count, trade amount, block height, timestamp time, transaction index, base currency symbol, quote currency symbol and 8 more fields.
What it returns
- count
- trade amount
- block height
- timestamp time
- transaction index
- base currency symbol
- quote currency symbol
- quote price
- transaction hash
- trade index
- address address
- contract type
- currency name
- base currency address
- quote currency address
Filters
- smart contract address is 0x3702…50ec
- exchange name is Pancake or Pancake v2
- date since 2021-07-07
- date since 2021-07-09
The query
{
ethereum(network: bsc) {
tx: dexTrades(
exchangeName: {in: ["Pancake", "Pancake v2"]}
date: {since: "2021-07-07T03:11:38.287Z"}
smartContractAddress: {is: "0x3702d000a74fab51a1b4d362d069309a38c450ec"}
) {
count
tradeAmount(in: USD)
},
count1:dexTrades(
exchangeName: {in: ["Pancake", "Pancake v2"]}
smartContractAddress: {is: "0x3702d000a74fab51a1b4d362d069309a38c450ec"}
options: {desc: ["block.height", "transaction.index"], limit: 1}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
index
}
baseCurrency {
symbol
}
quoteCurrency {
symbol
}
quotePrice
},
count2:dexTrades(
exchangeName: {in: ["Pancake", "Pancake v2"]}
smartContractAddress: {is: "0x3702d000a74fab51a1b4d362d069309a38c450ec"}
options: {desc: ["block.height", "transaction.index"], limit: 1}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
index
}
baseCurrency {
symbol
}
quoteCurrency {
symbol
}
quotePrice
},
today:dexTrades(
options: {asc: ["block.height","tradeIndex"], limit: 1}
exchangeName: {in: ["Pancake", "Pancake v2"]}
smartContractAddress: {is: "0x3702d000a74fab51a1b4d362d069309a38c450ec"}
date: {since: "2021-07-09T01:34:32.700Z"}
) {
transaction {
hash
}
tradeIndex
smartContract {
address {
address
}
contractType
currency {
name
}
}
tradeIndex
block {
height
}
baseCurrency {
symbol
address
}
quoteCurrency {
symbol
address
}
quotePrice
}
}
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades