iexbase / tron-api-python

A Python API for interacting with Tron (TRX)
https://tronapi-for-python.readthedocs.io
MIT License
166 stars 84 forks source link

runtime error in function "TRIGGER_SMART_CONTRACT". AttributeError: 'AttributeDict' instance has no attribute 'hex' #70

Closed GalymzhanAbdimanap closed 4 years ago

GalymzhanAbdimanap commented 4 years ago

hello, thanks for the work you've done. Can you help with the problem, I'm new to the tron. I am running this script:

`from tronapi import Tron

tron = Tron() tron.transaction_builder.trigger_smart_contract( ... contract_address = '41790f699c1fc02d1633b6c5687e0b8bd5ee2eb2c9', ... function_selector = 'returnAllAuctions()', ... fee_limit = 30000, ... issuer_address = 'TMTDUvyNMZr9vCD33wQHSytojUrNcANqy4', ... call_value=0, ... parameters=[] ... ) `