Get ton and usd prices by jetton address
curl --request GET \ --url https://api.dyor.io/v1/jettons/{address}/price
{ "ton": { "price": { "value": "1000500000", "decimals": 9 }, "changedAt": "2023-11-07T05:31:56Z" }, "usd": { "price": { "value": "1000500000", "decimals": 9 }, "changedAt": "2023-11-07T05:31:56Z" } }
Jetton address
Example: EQCQZpelevHNsbw5IUtwSa4Cs8kqWww0KsYeDri9kwS18eCz
EQCQZpelevHNsbw5IUtwSa4Cs8kqWww0KsYeDri9kwS18eCz
Show child attributes
To get the real value: value * pow(10, -decimals)
value * pow(10, -decimals)
"1000500000"
9