TRON - blockchain platform.
Questions tagged [tron]
182 questions
2
votes
2 answers
Compile of openzeppelin ERC721 with tron and tronbox failing
I am hoping someone can help with this. I have been trying to learn smart contracts on Tron with Solidity and tronbox, but I am running into issues when trying to create an ERC721 token.
I have created very simple ERC20.sol contracts using the…

Dale Rodel
- 21
- 4
2
votes
0 answers
All events are not included in the TRC-20 Event Listener
The transaction I sent doesn't come in every time, and the error rate is about 90%.
const trc20ContractAddress = "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"; //mainnet USDT contract
let contract = await…

Smart coder
- 57
- 4
2
votes
0 answers
Pay fee for Tron contract method call with another account
I'm trying to transfer token (smart contract) from non activated account in Tron with tronweb to another account, the source account does not have any TRX.
Is it possible to pay fee for the transaction with another account?

Pooya Saberian
- 971
- 2
- 9
- 16
2
votes
0 answers
How do I get contract event with filters params use trongrid api?
How do I get contract event logs by filter params like…

Tran Ly
- 21
- 1
2
votes
3 answers
How to call balanceOf() method for non published ABI
I'm trying to call balanceOf() method on a specific Tron contract (TYukBQZ2XXCcRCReAUguyXncCWNY9CEiDQ), but what I get is Failed to execute . If I do not provide the parameters I get Invalid argument count provided - meaning at some level it works…

halaprix
- 73
- 6
2
votes
3 answers
How to query the balance of a TRC20 token for a given TRX address?
I'd like to get the balance of a TRC20 token (in this case the WIN token) for a Tron wallet address that owns WIN tokens.
I'm using the Python module tron-api-python and based on what i've read on GitHub and the docs the code for that should look…

Endogen
- 589
- 2
- 12
- 24
2
votes
2 answers
Can't access window object property in Nuxt (Vue) mounted
I have a TronLink chrome extension, this extension provides a window.tronWeb property and I want to access this property after document load. I am trying to do that in the mounted() section of my Nuxt page component:
// ...
mounted() {
…

Dmytro Zarezenko
- 10,526
- 11
- 62
- 104
2
votes
0 answers
"PayloadTooLargeError: request entity too large" when run "tronbox test"
I am trying to run my unit tests with tronbox test command, but received this error:
Deploying contracts to development network...
ERROR: Request failed with status code 413
In the Tron Quickstart console:
How can I fix this issue? Thanks!

Dmytro Zarezenko
- 10,526
- 11
- 62
- 104
2
votes
1 answer
At remix.ethereum.org, blockhash function always zeroes all variables
I'm having a problem with the blockhash function at remix.ethereum.org.
Despite several attempts with different codes the blockhash function always causes problems and the result is that all variables are returned with a value of zero.
In the case…

leorzz
- 419
- 3
- 7
1
vote
0 answers
Python tronpy -- account not found on-chain (get_account_balance())
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 tronscan
code to create account
tron =…

виталик панасюк
- 11
- 2
1
vote
0 answers
How can i create a smart contract on TRON network to use USDT Token instead of TRX
I want to deploy a smart contract on TRON Network but I want it to use USDT instead of TRX
I have already created a smart contract which uses TRX
no i need something that uses USDT
i just need a simple contract in which the user can invest a…

Make Money Online
- 11
- 2
1
vote
0 answers
Trying to succes transaction in Tron network to snd usdt using c# and TronNet Nudget package
I have used TronNet nudget packages version 0.2.0
but there is always some bug. So I collected the method based on documentation and some other examples.
I have been trying to get simply transfer usdt assets using tron network, it seems packages not…

Serkan Ozkan
- 21
- 1
1
vote
0 answers
Trigger a function on tron blockchain
I'm trying to trigger buyEnergy on this contract TEeLFcbSc2LFSFrTZnWRCacZzo3ZtBybh2
buyEnergy function accept 5 parameters
buyEnergy(address _receiver, uint8 _energyRentalUnit, uint256 _energyAmount, uint256 affiliate, uint256 _rentalPeriod)
I have…

ANewDeveloper
- 11
- 2
1
vote
0 answers
CreateTransaction using Trongrid API
I am trying to create a tron transaction using trongrid APi.
But when I do so, I get the following error:
{
"Error": "class org.tron.core.exception.ContractValidateException : Validate TransferContract error, no OwnerAccount."
}
There is the api:…

c_kusanagi
- 41
- 5
1
vote
0 answers
Trouble integrating USDT TRC20 payment for Telegram Subscription Bot
I am currently working on building a Telegram Subscription Bot that allows users to pay in USDT TRC20 to join private channels/groups. However, I am facing challenges with integrating USDT TRC20 payment into my bot.
I believe that I need to create a…

CrazyChicken
- 26
- 3