tron-api-python
tron-api-python copied to clipboard
Взаимодействие со смарт контрактом
Good afternoon, tell me how to correctly call the smart contract function, which requires sending money, thank you.
https://github.com/iexbase/tron-api-python/blob/master/tronapi/transactionbuilder.py#L508
thanks, tell me why the code that is specified in the documents does not work
event_result = tron.trx.get_event_result('TGEJj8eus46QMHPgWQe1FJ2ymBXRm96fn1', 0, 'Notify')
AttributeError: 'Trx' object has no attribute 'get_event_result'
I need to get events from the smart contract, mb I'm doing something wrong? help me please
https://github.com/iexbase/tron-api-python/blob/master/tronapi/transactionbuilder.py#L508
Pls add this to examples.
I also have a problem, have you solved the problem?
@sitecreate
can you share with the code that works for you? thanks
I also have a problem, have anyone solved the problem?