DEXTrades issue ticket
Decimals is 0 thus returning the non-floating value of AmountInUSD.
Returns the latest DEX trades on Ethereum, where transaction hash is 0xb8cb…5368, 0xa368…e843 or 1 more and block time after 2021-05-28: block number, block time, buy amount in USD, buy smart contract, buy currency symbol, buy decimals, buy price in USD and 12 more fields.
What it returns
- block number
- block time
- buy amount in USD
- buy smart contract
- buy currency symbol
- buy decimals
- buy price in USD
- buy amount
- sell amount in USD
- sell smart contract
- sell currency symbol
- sell price in USD
- sell seller
- sell amount
- smart contract
- sender
- log after call index
- from
- transaction hash
Filters
- transaction hash is 0xb8cb…5368, 0xa368…e843 or 1 more
- block time after 2021-05-28
The query
query MyQuery {
EVM(dataset: archive, network: eth) {
DEXTrades(
where: {Transaction: {Hash: {in: ["0xb8cbc46a431d4d58d4f58887fbc98ed695288308b79599c9aade753633d95368", "0xa368ee44f6e8973770d3275e85a93b8f5043cbc48a2b80209b816faaa3cce843", "0x2c3080c63bcb36ffe5c29fd22b2bb44889201dbaac10504aec01e4fc9cb042ce"]}}, TransactionStatus: {Success: true}, Block: {Time: {after: "2021-05-28T02:04:23Z"}}}
orderBy: {descending: Block_Number, descendingByField: "Log_LogAfterCallIndex"}
) {
Block {
Number
Time
}
Trade {
Buy {
AmountInUSD
Currency {
SmartContract
Symbol
Decimals
}
PriceInUSD
Amount
}
Sell {
AmountInUSD
Currency {
SmartContract
Symbol
}
PriceInUSD
Seller
Amount
}
Dex {
Pair {
SmartContract
}
}
Sender
}
Log {
LogAfterCallIndex
SmartContract
}
Transaction {
From
Hash
}
}
}
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades