Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count energy and bandwidth for transaction #38

Closed
bolpol opened this issue Jun 24, 2019 · 2 comments
Closed

Count energy and bandwidth for transaction #38

bolpol opened this issue Jun 24, 2019 · 2 comments

Comments

@bolpol
Copy link

bolpol commented Jun 24, 2019

Is possibe to get estimated energy and bandwidth before call transaction on smart contract?

@serderovsh
Copy link
Contributor

tron-api does not support smart contacts
https://github.com/iexbase/tron-api/blob/master/src/TransactionBuilder.php#L409

@bolpol
Copy link
Author

bolpol commented Jun 25, 2019

tron-api does not support smart contacts
https://github.com/iexbase/tron-api/blob/master/src/TransactionBuilder.php#L409

maybe some algo exist to write it myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants