iexbase/tron-api-python

reading data of a smart contract

Mahsa-Bastankhah opened this issue · 0 comments

Hi. I want to read the balance of an account from a TRC20 smart contract. I know how to send a "write" transaction using tron.transaction_builder.trigger_smart_contract and tron.trx.sign_and_broadcast(txn['transaction']) but I don't know how to read data from blockchain. I appreciate any help.