[Ethereum] [Streaming] Get List of Latest Pair Created on Uniswap V2
Query allows you to get PairCreated Event Emitted from Uniswap V2 factory via streaming API.
What it returns
- arguments index
- arguments name
- arguments type
- string
- value address
- big integer
- integer
- block time
- log index
- signature name
Filters
- log smart contract is 0x5C69…aA6f
- signature name is PairCreated
The query
{
EVM(dataset: combined, network: eth) {
Events(
where: {Log: {SmartContract: {is: "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f"}, Signature: {Name: {is: "PairCreated"}}}}
orderBy: {descending: Block_Time}
limit: {count: 5}
) {
Arguments {
Index
Name
Type
Value {
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Integer_Value_Arg {
integer
}
}
}
Block {
Time
}
Log {
Index
Signature {
Name
}
}
}
}
}
Similar queries
- New Curve liquidity pools on Ethereum · Ethereum · Events
- New Metric liquidity pools on Ethereum · Ethereum · Events
- event api · Ethereum · Events
- eth deposit contract events · Ethereum · Events
- eth_okx_aproove · Ethereum · Events