TRON - blockchain platform.
Questions tagged [tron]
182 questions
3
votes
1 answer
Transfer trc20 usdt from one address to another
I want to build a gateway for usdt payments and for this i'm using Tronweb tronWeb.utils.accounts.generateAccount() method
I have generated an address, transfered 1 usdt to it and now i want to transfer the funds to another address.
I get an error…

catalin
- 31
- 1
- 3
3
votes
0 answers
TRC20 curl for getaccount/getbalance
What is the correct curl format to view trc20 balance of an account? I tried the below command, but the output showed no balance.
curl -X POST http://127.0.0.1:8090/wallet/triggersmartcontract -d…

krkart
- 435
- 4
- 11
3
votes
0 answers
Wallet connection issue in android Tronlink pro App
My Dapp is running peacefully on chrom using tronlink extension and in ios Trust wallet app
But this is not working with Tronlink pro,Tron pocket, Trust wallet in android
Is there any additional thing that i have to do to run my Dapp on these…

vicky
- 56
- 6
3
votes
1 answer
TRON blockchain: create, sign and broadcast transaction via API of public node
Im php developer and trying to broadcast tron transaction. pls do not advice to me java libs. i think this operation can be made by API calls.
im understand 3 steps: create, sign and broadcast
step 1: use…

Andrey Developer
- 55
- 5
3
votes
1 answer
How can I read tron smartcontract storage?
I want to read the TRON smart contract storage.
I know, that at ethereum we can use web3.eth.getStorageAt().
I can't find any similar or equivalent implementation for TronWeb API.

goxaga
- 31
- 1
3
votes
3 answers
How to call a contract method with tron-web
I'm trying to call a simple contract method that just returns a string of data. I've based my code on the example that can be found in the docs =>…

Jorre
- 17,273
- 32
- 100
- 145
2
votes
1 answer
How can I listen transactions in Tron blockchain?
I want to track transactions on the Tron blockchain network. More precisely, I want to follow the transactions made through my own address, but I could not find any way. I tried the following way but it says "subscribe" method is an undefined…

BeycanDeveloper
- 21
- 4
2
votes
1 answer
How to transfer TRC20 token using tronpy?
I want to send USDT TRC20 tokens using tronpy, while i succeded to transfer TRX, same approach failed for the TRC20 tokens, here's my code:
import codecs
from tronpy.keys import PrivateKey
from hexbytes import HexBytes
def transfer(self,…

zfou
- 891
- 1
- 10
- 33
2
votes
1 answer
Getting OUT_OF_ENERGY error at the TRON's contract call while not all of provided fee_limit was burned
I am trying to call method of the smart-contract deployed on Tron from program code by calling
/wallet/triggersmartcontract/
Tron node's API.
This worked just fine on the testnet Shasta, but the attempt of executing this on the mainnet failed with…

Yurii Baryshev
- 49
- 5
2
votes
0 answers
'code': 'SIGERROR' Validate signature error: * is signed by ** but it is not contained of permission
I tried to create a trx transaction on shasta network and passing correct private key using tronweb for python but it's giving this error
{'code': 'SIGERROR',
'txid': '44212bea170d07e2c83c5a4c1ba96e6617165474401f8af1e2a7f3c6f09257d6',
'message':…

user13911889
- 21
- 2
2
votes
1 answer
How to scan the latest TRX block for transfer events to check if an address has a new transaction
I want to scan the latest block https://trx.tokenview.com/en/blocklist of the tron network if there is a new transaction on a specific address.
I managed to get the latest block and the balance of the address but I cannot figure out how to scan the…

rbutrnz
- 383
- 4
- 20
2
votes
1 answer
importing tronweb shows import error: cannot import name 'hashable' from 'collections'
After installing tronweb using 'pip install tronweb', when I try to import but it shows an import error which is cannot import name 'hashable' from 'collections'

Mehedi
- 25
- 1
- 7
2
votes
1 answer
I'm trying to implement openzeppelin's minimal proxy clone contract on TRON blockchain
The openzeppelin minimal proxy contract here has this function predictDeterministicAddress() that hashes values like the sender's address, a salt... to generate a contract address that the create2 function will also generate, when it's passed the…

KelvinIOT
- 325
- 1
- 2
- 14
2
votes
4 answers
Im trying to fetch all transactions of a certain tron address
i couldnt find a way to get the history of transactions a certain Tron address is involved in
i tried the tronweb API :…

whitebat 199
- 172
- 2
- 9
2
votes
1 answer
How to offline sign a Tron transaction in Ruby?
I'm trying to offline sign a Tron transaction in Ruby.
TronGrid has an endpoint to sign transactions, but they require to send them the account private key in order to do it, which feels a potential risk, so I'd like to sign the transaction locally…

Eric121
- 21
- 3