Questions tagged [tronweb]

55 questions
8
votes
3 answers

How to get TRC20 transactions to an address

I am using tron web to query transactions of an address but it does not return transactions sent to that address where token transferred is TRC20. This does not work. I want to get the transactions on an address and get both TRX, trc10 and trc20…
Oluwatumbi
  • 1,321
  • 1
  • 12
  • 19
5
votes
0 answers

Tronweb not listening events conistently

I am creating a dapp on tron and using tronweb npm package. I am using its watch() to listen for events but it sometimes misses the event. Does anyone facing the same problem? Is there any alternative for that?
ankur
  • 111
  • 4
5
votes
0 answers

is it possible to trigger Tron smart contract from tronweb and Azure key vault

i'm thinking of developing a bridge between Tron and Ethereum chains for my erc-20 token on Azure and store my private keys in Azure key vault. For ethereum i've found a nice library just for this:…
4
votes
2 answers

Sign and broadcast smart contract transaction in TRON network

Using a node.js client, I'm trying to invoke a smart contract function by: Creating a transaction Signing it Broadcast the signed transaction I deployed a simple smart contract: pragma solidity ^0.4.25; contract Test { event MyEvent(address…
forhas
  • 11,551
  • 21
  • 77
  • 111
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

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

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…
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':…
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
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
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…
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
1
2 3 4