Copy of Copy of token latest swaps
token latest swaps
Returns the latest 5 DEX trades on Ethereum and BNB Chain, where buy currency is 0x3c0b…8222: timestamp time, block height, trade index, protocol, full name, address address, annotation and 7 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- full name
- address address
- annotation
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- transaction hash
Filters
- buy currency is 0x3c0b…8222
The query
query ($network: EthereumNetwork!, $token: String!, $limit: Int!, $offset: Int!) {
ethereum(network: $network) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: $limit, offset: $offset}
buyCurrency: {is: $token}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
buyAmount
buyCurrency {
address
symbol
}
sellAmount
sellCurrency {
address
symbol
}
transaction {
hash
}
}
}
}
Variables
{
"limit": 5,
"offset": 0,
"network": "bsc",
"token": "0x3c0b6fcb2f62990f477d9af611e4da3ff1f08222",
"dateFormat": "%Y-%m-%d"
}
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