DexTrade_Wrong_Amount_
Decimals is 0 thus returning the non-floating value of AmountInUSD.
Returns DEX trades on Ethereum, where transaction hash is 0xb8cb…5368, 0xa368…e843 or 1 more: block number, buy amount in USD, buy smart contract, buy currency symbol, buy decimals, buy currency name, buy protocol name and 6 more fields.
What it returns
- block number
- buy amount in USD
- buy smart contract
- buy currency symbol
- buy decimals
- buy currency name
- buy protocol name
- buy amount
- sell amount in USD
- sell smart contract
- sell currency symbol
- sell amount
- smart contract
Filters
- transaction hash is 0xb8cb…5368, 0xa368…e843 or 1 more
The query
query MyQuery {
EVM(dataset: archive, network: eth) {
DEXTrades(
where: {Transaction: {Hash: {in: ["0xb8cbc46a431d4d58d4f58887fbc98ed695288308b79599c9aade753633d95368", "0xa368ee44f6e8973770d3275e85a93b8f5043cbc48a2b80209b816faaa3cce843", "0x2c3080c63bcb36ffe5c29fd22b2bb44889201dbaac10504aec01e4fc9cb042ce"]}}}
) {
Block {
Number
}
Trade {
Buy {
AmountInUSD
Currency {
SmartContract
Symbol
Decimals
Name
ProtocolName
}
Amount
}
Sell {
AmountInUSD
Currency {
SmartContract
Symbol
}
Amount
}
Dex {
Pair {
SmartContract
}
}
}
}
}
}
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