We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
Can i found currency with tron-api-python ?
from tronapi import Tron ... from tronapi import HttpProvider ... ... full_node = HttpProvider('https://api.trongrid.io') ... solidity_node = HttpProvider('https://api.trongrid.io') ... event_server = HttpProvider('https://api.trongrid.io') ... tron = Tron(full_node=full_node, ... solidity_node=solidity_node, ... event_server=event_server) ... ... ... ... result = tron.trx.get_transaction('2d092059ee6316c2779b522f596cb3dedd7b0de164ef9f4abc8a38016ecd712d')
result is something like this: {'ret': [{'contractRet': 'SUCCESS'}], 'signature': ['7efb8b3965094ee8438e5dbc5d0b7c19590b7f93e282edce27bb1b652d5bf03ba338dd0676c271c71ca01989ea5adc3711a78751fdb34528fd7a51c8bafb9b1a01'], 'txID': '2d092059ee6316c2779b522f596cb3dedd7b0de164ef9f4abc8a38016ecd712d', 'raw_data': {'contract': [{'parameter': {'value': {'data': 'a9059cbb000000000000000000000000098370d30845a40a728c8c44cbc17b4270a1b20e0000000000000000000000000000000000000000000000000000000001312d00', 'owner_address': '412cc880e50b3b7f73a4113e13f8d6f20c7e5b4a50', 'contract_address': '41a614f803b6fd780986a42c78ec9c7f77e6ded13c'}, 'type_url': 'type.googleapis.com/protocol.TriggerSmartContract'}, 'type': 'TriggerSmartContract'}], 'ref_block_bytes': 'fb39', 'ref_block_hash': '0e70c7e7067df812', 'expiration': 1628188479000, 'fee_limit': 10000000, 'timestamp': 1628188421472}, 'raw_data_hex': '0a02fb3922080e70c7e7067df81240989ce2bcb12f5aae01081f12a9010a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d6172744...
when i transfer USDT(trc20) in result i can't find amount and symbol of currency.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
Can i found currency with tron-api-python ?
from tronapi import Tron
... from tronapi import HttpProvider
...
... full_node = HttpProvider('https://api.trongrid.io')
... solidity_node = HttpProvider('https://api.trongrid.io')
... event_server = HttpProvider('https://api.trongrid.io')
... tron = Tron(full_node=full_node,
... solidity_node=solidity_node,
... event_server=event_server)
...
...
...
... result = tron.trx.get_transaction('2d092059ee6316c2779b522f596cb3dedd7b0de164ef9f4abc8a38016ecd712d')
result is something like this:
{'ret': [{'contractRet': 'SUCCESS'}], 'signature': ['7efb8b3965094ee8438e5dbc5d0b7c19590b7f93e282edce27bb1b652d5bf03ba338dd0676c271c71ca01989ea5adc3711a78751fdb34528fd7a51c8bafb9b1a01'], 'txID': '2d092059ee6316c2779b522f596cb3dedd7b0de164ef9f4abc8a38016ecd712d', 'raw_data': {'contract': [{'parameter': {'value': {'data': 'a9059cbb000000000000000000000000098370d30845a40a728c8c44cbc17b4270a1b20e0000000000000000000000000000000000000000000000000000000001312d00', 'owner_address': '412cc880e50b3b7f73a4113e13f8d6f20c7e5b4a50', 'contract_address': '41a614f803b6fd780986a42c78ec9c7f77e6ded13c'}, 'type_url': 'type.googleapis.com/protocol.TriggerSmartContract'}, 'type': 'TriggerSmartContract'}], 'ref_block_bytes': 'fb39', 'ref_block_hash': '0e70c7e7067df812', 'expiration': 1628188479000, 'fee_limit': 10000000, 'timestamp': 1628188421472}, 'raw_data_hex': '0a02fb3922080e70c7e7067df81240989ce2bcb12f5aae01081f12a9010a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d6172744...
when i transfer USDT(trc20) in result i can't find amount and symbol of currency.
The text was updated successfully, but these errors were encountered: