tonlib-rs
tonlib-rs copied to clipboard
Support liteServer.* methods?
I've seen a lot of libs support smc.* methods (not sure what SMC stands for).
Like I can use smc.runGetMethod, however I can't specify the block height at which I want to pull state from.
If I have an archive node, I want to be able to do this at a specific block height to build up some history for querying.
I've seen this TL which should support this: https://raw.githubusercontent.com/ton-blockchain/ton/master/tl/generate/scheme/lite_api.tl
If you check this JS lib for ton, it supports querying via this method: https://github.com/ton-core/ton-lite-client/blob/8e7089c35aaac7b7b75833c3b68a777d1d023c84/src/client.ts#L408
Would it be possible to add this functionality to your lib? Can I just pull you repo and add new types, or is there any kind of special pre-post source gen to deal with the horrendous TL serialization behind this ADNL?