How would I specify USDC(“0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48”) as token0 or token 1 for this query? Thanks.
{
ethereum {
arguments(
smartContractAddress: {is: “0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f”}
smartContractEvent: {is: “PairCreated”}
options: {desc: “block.height”, limit: 3}
) {
block {
height
}
argument {
name
}
reference {
address
}
}
}
}
Result:
{
“ethereum”: {
“arguments”: [
{
“block”: {
“height”: 13626329
},
“argument”: {
“name”: “token1”
},
“reference”: {
“address”: “0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”
}
},
{
“block”: {
“height”: 13626329
},
“argument”: {
“name”: “token0”
},
“reference”: {
“address”: “0x0d0f25ea5f1abce4f059e9cfd9d63b60ede4c442”
}
},
{
“block”: {
“height”: 13626329
},
“argument”: {
“name”: “pair”
},
“reference”: {
“address”: “0x7de5927fd27149cbb700ac5f882bd6c452b638cd”
}
}
]
}
}