Historical Token Trades & Price API
Returns the latest 10 DEX trades on Arbitrum, where buy currency smart contract is 0x82aF…Bab1, sell currency smart contract is 0x82aF…Bab1 and sell buyer is 0x1111…0582: block number, block time, from, to, transaction hash, buy amount, buy buyer and 12 more fields.
What it returns
- block number
- block time
- from
- to
- transaction hash
- buy amount
- buy buyer
- buy currency name
- buy currency symbol
- buy smart contract
- buy seller
- buy price
- sell amount
- sell buyer
- sell currency name
- sell smart contract
- sell currency symbol
- sell seller
- sell price
Filters
- buy currency smart contract is 0x82aF…Bab1
- sell currency smart contract is 0x82aF…Bab1
- sell buyer is 0x1111…0582
- buy seller is 0x1111111254eeb25477b68fb85ed929f73a960582
- block time since 2023-03-03
- block time till 2023-03-05
The query
{
EVM(dataset: combined, network: arbitrum) {
buyside: DEXTrades(
limit: {count: 10}
orderBy: {descending: Block_Time}
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"}}, Seller: {is: "0x1111111254eeb25477b68fb85ed929f73a960582 "}}}, Block: {Time: {since: "2023-03-03T01:00:00Z", till: "2023-03-05T05:15:23Z"}}}
) {
Block {
Number
Time
}
Transaction {
From
To
Hash
}
Trade {
Buy {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Seller
Price
}
Sell {
Amount
Buyer
Currency {
Name
SmartContract
Symbol
}
Seller
Price
}
}
}
sellside: DEXTrades(
limit: {count: 10}
orderBy: {descending: Block_Time}
where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"}}, Buyer: {is: "0x1111111254eeb25477b68fb85ed929f73a960582"}}}, Block: {Time: {since: "2023-03-03T01:00:00Z", till: "2023-03-05T05:15:23Z"}}}
) {
Block {
Number
Time
}
Transaction {
From
To
Hash
}
Trade {
Buy {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Seller
Price
}
Sell {
Amount
Buyer
Currency {
Name
SmartContract
Symbol
}
Seller
Price
}
}
}
}
}
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