prova1
Returns the latest 10 DEX trades on Arbitrum, where transaction from is 0xCfab…c388 and block time since 2024-01-01: block time, transaction hash, protocol name, buy amount, buy currency symbol, buy smart contract, buy amount in USD and 4 more fields.
What it returns
- block time
- transaction hash
- protocol name
- buy amount
- buy currency symbol
- buy smart contract
- buy amount in USD
- sell amount
- sell currency symbol
- sell smart contract
- sell amount in USD
Filters
- transaction from is 0xCfab…c388
- block time since 2024-01-01
The query
query WalletDEXActivity($network: evm_network!, $walletAddress: String!, $limit: Int!, $since: DateTime!) {
EVM(dataset: combined, network: $network) {
DEXTrades(
where: {
Transaction: { From: { is: $walletAddress } },
Block: { Time: { since: $since } }
}
orderBy: { descendingByField: "Block_Time" }
limit: { count: $limit }
) {
Block { Time }
Transaction { Hash }
Trade {
Dex {
ProtocolName
}
Buy {
Amount
Currency { Symbol SmartContract }
AmountInUSD # <--- CAMBIATO QUI
}
Sell {
Amount
Currency { Symbol SmartContract }
AmountInUSD # <--- CAMBIATO QUI
}
}
}
}
}
Variables
{
"network": "arbitrum",
"walletAddress": "0xCfaba3994C45aa03e479000300801AE35B39c388",
"limit": 10,
"since": "2024-01-01T00:00:00Z"
}
Similar queries
- trades · Ethereum · DEXTrades
- List of DEX supported · Arbitrum · DEXTrades
- Param - first 1000 · Arbitrum · DEXTrades
- top sellers of a token on uniswap v4 arbitrum · Arbitrum · DEXTrades
- top buyers of a currency on uniswap v4 arbitrum · Arbitrum · DEXTrades