Units of amount0/1

What are the units for amount 0 and 1? I thought I was querying the pairs address of USDC/ETH but I cant make out the results units. If usdc/eth the values are way too high for what is currently locked.

query MyQuery {
ethereum {
smartContractEvents(
smartContractAddress: {is: “0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc”}
smartContractEvent: {is: “Mint”}
options: {limit: 10, desc: “block.height”}
) {
block {
height
}
arguments {
value
argument
}
smartContract {
currency {
symbol
}
}
}
}
}

What are you trying to do?

To look at values minted on the address 0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc then values burn to try and piece together pool liquidity over time. New query used but still dont understant the amounts.
Query
query MyQuery {
ethereum {
smartContractEvents(
smartContractAddress: {is: “0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc”}
smartContractEvent: {is: “Mint”}
options: {limit: 10, desc: “block.height”}
) {
block {
height
}
arguments {
value
argument
}
smartContract {
currency {
symbol
}
}
}
}
}
Results
{
“ethereum”: {
“smartContractEvents”: [
{
“block”: {
“height”: 13644939
},
“arguments”: [
{
“value”: “0x7a250d5630b4cf539739df2c5dacb4c659f2488d”,
“argument”: “sender”
},
{
“value”: “207809183688”,
“argument”: “amount0”
},
{
“value”: “50000000000000000000”,
“argument”: “amount1”
}
],
“smartContract”: {
“currency”: {
“symbol”: “UNI-V2”
}
}
},

Could you simplify your objective and what are you trying to do

Try a query like this

Here amount0 and amount1 represent the currencies in the pair.

So if it’s USDT-WETH pair, then amount0 might be USDT and amount1 is WETH and vice versa.

1 Like

Thanks. I did this for 0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc and it only gave the amount of ether provided to the pool. Is it possible to also get the amount of USDC provided?

This does this. Thank you for the help. Posted for anyone else
query MyQuery {
ethereum {
smartContractEvents(
smartContractAddress: {is: “0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc”}
smartContractEvent: {is: “Mint”}
options: {limit: 10, desc: “block.height”}
) {
block {
height
}
arguments {
value
argument
}
smartContract {
currency {
symbol
}
}
}
}
}

Thank you for everybody that tried and helps for us…Thanks&Regards.