getWalletVolume
Returns DEX trades on Ethereum, where sell seller is 0xbdfa…5c50, buy buyer is 0xbdfa…5c50 and block time since 2024-02-03: sell seller, sell amount in USD, buy buyer and buy amount in USD.
What it returns
- sell seller
- sell amount in USD
- buy buyer
- buy amount in USD
Filters
- sell seller is 0xbdfa…5c50
- buy buyer is 0xbdfa…5c50
- block time since 2024-02-03
- block time till 2025-02-03
The query
query getWalletVolume(
$dataset: dataset_arg_enum!,
$network: evm_network!,
$wallet: String!,
$till: DateTime!,
$since: DateTime!
) {
EVM(network: $network, dataset: $dataset) {
DEXTrades(where: {
Block: {Time: { since: $since, till: $till }},
Trade: {
Sell: { Seller: { is: $wallet } }
Buy: { Buyer: { is: $wallet } }
}
}) {
Trade {
Sell {
Seller
AmountInUSD
}
Buy {
Buyer
AmountInUSD
}
}
}
}
}
Variables
{
"network": "eth",
"dataset": "archive",
"till": "2025-02-03T16:29:15.019Z",
"since": "2024-02-03T16:29:15.019Z",
"wallet": "0xbdfa4f4492dd7b7cf211209c4791af8d52bf5c50"
}
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