How to get TON-bmTON rate
There are two ways to obtain TON-bmTON rate: on-chain and off-chain
// TL-B:
provide_current_quote#ad83913f
query_id:uint64
custom_payload:(Maybe ^Cell)
= InternalMsgBody;// TL-B
take_current_quote#0a420458
query_id:uint64
ton_total_supply:uint128
jetton_total_supply:uint128
custom_payload:(Maybe ^Cell)
= InternalMsgBody;
Last updated