Transaction History by Token ~ Sky Test
Returns DEX trades on Ethereum, where transaction hash is 0xf5f2…8b0f: sell amount, sell amount in USD, sell smart contract, buy amount, buy amount in USD, buy smart contract, from and transaction hash.
What it returns
- sell amount
- sell amount in USD
- sell smart contract
- buy amount
- buy amount in USD
- buy smart contract
- from
- transaction hash
Filters
- transaction hash is 0xf5f2…8b0f
The query
query ($address: String!) {
EVM(network: eth, dataset: combined) {
DEXTrades(
where: {TransactionStatus: {Success: true}, any: [{Trade: {Buy: {Currency: {SmartContract: {is: $address}}}}}, {Trade: {Sell: {Currency: {SmartContract: {is: $address}}}}}], Transaction: {Hash: {is: "0xf5f2ceb58fe2b06cb19cd39d810b1ace34ee13cbd36a9757e17f93ed2f648b0f"}}}
) {
Trade {
Sell {
Amount
AmountInUSD
Currency {
SmartContract
}
}
Buy {
Amount
AmountInUSD
Currency {
SmartContract
}
}
}
Transaction {
From
Hash
}
}
}
}
Variables
{"address": "0x6d551bd441fb65513c0d815747b3409c1eb56886"}
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