Iβm dancing on the desc.
Here I ask two methods for price:
getTokenPrice({
address: '0x84c0a20840fbde2b66f2edefa3fdd0f55eac7397',
to_block: 13805229,
})
Response:
{
"nativePrice": {
"value": "3025",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
},
"usdPrice": 1.1403345e-11,
"exchangeAddress": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"exchangeName": "Uniswap v2"
}
And today:
getTokenPrice({
address: '0x84c0a20840fbde2b66f2edefa3fdd0f55eac7397',
})
Response:
{
"nativePrice": {
"value": "19825000000000001000000000000000000",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
},
"usdPrice": 20302736752691650000,
"exchangeAddress": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"exchangeName": "Uniswap v2"
}
Did I miss something?
Or why in past there was 0,0000000114$ (and I donβt count how many zero), but today it is trillions $?