tron-api-python icon indicating copy to clipboard operation
tron-api-python copied to clipboard

Взаимодействие со смарт контрактом

Open smartDev22 opened this issue 6 years ago • 6 comments

Good afternoon, tell me how to correctly call the smart contract function, which requires sending money, thank you.

smartDev22 avatar Jun 01 '19 14:06 smartDev22

https://github.com/iexbase/tron-api-python/blob/master/tronapi/transactionbuilder.py#L508

serderovsh avatar Jun 01 '19 14:06 serderovsh

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

smartDev22 avatar Jun 02 '19 19:06 smartDev22

https://github.com/iexbase/tron-api-python/blob/master/tronapi/transactionbuilder.py#L508

Pls add this to examples.

Cashik avatar Oct 23 '19 14:10 Cashik

I also have a problem, have you solved the problem?

GalymzhanAbdimanap avatar May 19 '20 11:05 GalymzhanAbdimanap

@sitecreate
can you share with the code that works for you? thanks

GalymzhanAbdimanap avatar May 25 '20 09:05 GalymzhanAbdimanap

I also have a problem, have anyone solved the problem?

luchec avatar Oct 12 '22 09:10 luchec