token details using aliasing
Returns 2 smart contract events and transfers on Ethereum, where smart contract address is 0x5C69…aA6f, receiver is 0xf2a5…bbcf and smart contract address is 0xf629…3b9c, sorted by block timestamp time: argument, arguments value, block height, unixtime, timestamp time, currency symbol, amount and 5 more fields.
What it returns
- argument
- arguments value
- block height
- unixtime
- timestamp time
- currency symbol
- amount
- contract type
- address address
- currency name
- decimals
- token type
Filters
- smart contract address is 0x5C69…aA6f
- receiver is 0xf2a5…bbcf
- smart contract address is 0xf629…3b9c
- smart contract event is PairCreated
- amount is above 0
The query
{
ethereum(network: ethereum) {
contract_events: smartContractEvents(
options: {desc: "block.height", limit: 10}
smartContractEvent: {is: "PairCreated"}
smartContractAddress: {is: "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f"}
) {
arguments {
argument
value
}
block {
height
timestamp {
unixtime
}
}
}
transfers: transfers(
options: {asc: "block.timestamp.time", limit: 2}
amount: {gt: 0}
receiver: {is: "0xf2a5fa5d574362e2d082e52b52ac570f7470bbcf"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
currency {
symbol
}
amount
}
contract_calls: smartContractCalls(
smartContractAddress: {is: "0xf629cbd94d3791c9250152bd8dfbdf380e2a3b9c"}
) {
smartContract {
contractType
address {
address
}
currency {
symbol
name
decimals
tokenType
}
}
amount
}
}
}
Similar queries
- ethereum smartContractEvents · Ethereum · smartContractEvents
- Aave V3 aPYUSD Lending · Ethereum · smartContractEvents
- Call example · Ethereum · smartContractEvents
- swap · Ethereum · smartContractEvents
- latest emitted events on velas · Ethereum · smartContractEvents