andelf / tronpy

TRON Python Client Library.
MIT License
204 stars 96 forks source link

feat: add support of wallet/getcontractinfo #108

Closed gtors closed 6 months ago

gtors commented 1 year ago

The wallet/getcontractinfo response, specifically energy_factor field, can be used in calculation to predict contract method energy use.

So, I think the get_contract_info method should be present in the client.

MrNaif2018 commented 6 months ago

Thanks for your PR!