Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
155 views

I use tronpy to make TRX and TRC20 transactions. I wonder if there is any way to send the whole balance. Right now I only found a way how to send usual transaction: priv_key = PrivateKey(bytes.fromhex(...
0 votes
1 answer
3k views

Hi i was sending a transaction on python with tronpy library, but anytime i try to send it. using the library it throws out an error saying out of balance which makes sense because i send the full ...
0 votes
1 answer
2k views

How can I send USDT TRC20 via Python? I used this code: from tronpy import Tron from tronpy.keys import PrivateKey client = Tron(network='mainnet') priv_key = PrivateKey(bytes.fromhex("0")) ...
idks's user avatar
  • 1
0 votes
0 answers
579 views

have a exceptions when try to get a acount balance use a tronpy exception: tronpy.exceptions.AddressNotFound: account not found on-chain have this problem with a new wallet and with a just adress from ...
1 vote
0 answers
211 views

I'm trying to trigger buyEnergy on this contract TEeLFcbSc2LFSFrTZnWRCacZzo3ZtBybh2 buyEnergy function accept 5 parameters buyEnergy(address _receiver, uint8 _energyRentalUnit, uint256 _energyAmount, ...
2 votes
2 answers
5k views

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 ...
zfou's user avatar
  • 921
1 vote
0 answers
2k views

I'm using tronpy library to send trx, here is my code: from tronpy import Tron from tronpy.keys import PrivateKey # integers representing half & one Tron HALF_TRON = 500000 ONE_TRON = 1000000 #...
Goorhatar's user avatar

AltStyle によって変換されたページ (->オリジナル) /