2) Get Any Pair Created From Factory
Returns the latest argument on Ethereum and klaytn, where smart contract address is 0x36fa…db2b and smart contract event is PairCreated: reference address and block height.
What it returns
- reference address
- block height
Filters
- smart contract address is 0x36fa…db2b
- smart contract event is PairCreated
The query
query GetPairCreatedByFactory($network: EthereumNetwork!, $limit: Int!, $factoryAddress: String!) {
ethereum(network: $network) {
arguments(
smartContractAddress: {is: $factoryAddress}
smartContractEvent: {is: "PairCreated"}
options: {desc: "block.height", limit: $limit}
) {
reference {
address
}
block {
height
}
}
}
}
Variables
{
"network": "klaytn",
"limit": 1,
"factoryAddress": "0x36fae766e51f17f8218c735f58426e293498db2b"
}
Similar queries
- Klaytn — Balance of an address at a past date · Klaytn · Transfers
- Klaytn — Top DEXs by trade count · Klaytn · DEXTrades
- internal_transactions_ · Klaytn · Transfers
- Klayn_3_ · Klaytn · Transactions
- Klaytn last · Klaytn · Blocks