Closed arehovski closed 1 year ago
In the updated tron blockchain now there is an API method, that returns an estimated energy of calling a smart contract. https://developers.tron.network/reference/estimateenergy It would be nice to include it into your client library.
I've created a PR with neccesary changes. https://github.com/andelf/tronpy/pull/92
Merged, thank you! Though triggerconstantconstant was there for a while and is pretty useful still
In the updated tron blockchain now there is an API method, that returns an estimated energy of calling a smart contract. https://developers.tron.network/reference/estimateenergy It would be nice to include it into your client library.