Questions tagged [tronweb]

55 questions
0
votes
0 answers

Trying to fetch all transactions containing specific type for a certain TRON address using trongrid

I am using api.trongrid.io to fetch transactions for a TRON address and this works 100%, however, is it possible to fetch all transactions for this TRON address that contains a specific type? Has anyone perhaps managed to find a way to do this? I…
0
votes
1 answer

Tronweb USDT20 Transfer FAILED -TRANSACTION REVERT>

I want to transfer USDT with TRC20 by using tronWeb. I get the txid and everything but somehow I can't trigger the smart contract. So this is my code below: const TronWeb = require('tronweb'); // Create a TRON instance const tronWeb =…
erenA
  • 11
  • 3
0
votes
0 answers

how to import and connect with wallet using TronWeb in angular 15?

I am using angular 15 and i have install tronweb using npm install tronweb now I want to know how can i import tronweb in the component and get user usdt balance?
Rk dev tech
  • 190
  • 1
  • 14
0
votes
0 answers

Sending USDTC to a new Tron address in testnet --"Unrecorded Token"

I have a newly generated TRON address in testnet - Shasta. I'm trying to send USDC to it, from a faucet - usdcfaucet.com. While on an Ethereum testnet it'll get received fine, if I send it there, on TRON there's been ocurring an error "Unrecorded…
Kon
  • 33
  • 1
  • 5
0
votes
0 answers

tronWeb getAccount returns null

(async function () { const TronWeb = require('tronweb'); const HttpProvider = TronWeb.providers.HttpProvider; const fullNode = new HttpProvider('https://api.trongrid.io'); const solidityNode = new…
0
votes
0 answers

Problem creating transactions to send TRX to uninitialized addresses

I’ve been using TronWeb for a while to collect and summarize information about my Tron addresses, and that works fine. Now I want to start creating transactions, so I figured a simple one would be to send some TRX between addresses. I got as far…
blm
  • 2,379
  • 2
  • 20
  • 24
0
votes
0 answers

How to get a list of all transactions of USDT TRC20

How can I get a list of all transactions in the USDT token Tron network using TronWeb. I found a solution but it doesn't work for me. How to get TRC20 transactions to an address My code: let result = await…
0
votes
1 answer

Tron fullnode config for eventServer

I set up a Tron full node, and everything seems to be fine (balance methods and contract methods work fine). When I'm using the TRC20 incoming transaction subscription: const contract = await…
amindotb
  • 17
  • 7
0
votes
1 answer

how to estimate Energy Consumed in trc20 transfer transactions

Sometimes Energy Consumed in tron transactions became half! In this moment, its345 Bandwidth and 29,631 Energy But sometimes it became 345 Bandwidth and 14,815 Energy How to estimate transfer Gas fee in moment? (If getChainParameters api helping,…
Reza Heydari
  • 126
  • 1
  • 9
0
votes
1 answer

how can i identify type of transferd toke in my website

I want to create a dex website with solidity, web3, tronweb, and nodejs . now I have a question about the transfer token in TRC-20 and ERC-20 network. On my website use can deposit wallets from another site like bianance , coinbase , . . . and I…
Mr Coder
  • 761
  • 2
  • 13
  • 34
0
votes
1 answer

Tronweb authentication

I want to build a webapp that uses the wallet address as account, but yet I want to store the user in my db to allow specifying a nickname. The problem I'm dealing with is that I want to call different apis, where the user needs to be authenticated…
html_programmer
  • 18,126
  • 18
  • 85
  • 158
0
votes
1 answer

Using trongrid api key, not affecting to dashboard query count

im using this method but meet with 503 statusCode and also can not see any query from my app (( const tronWeb = new TronWeb({ fullHost: 'https://api.trongrid.io/', headers: { "TRON-PRO-API-KEY": 'your api key' }, privateKey: 'your…
user3640561
  • 191
  • 1
  • 6
0
votes
1 answer

tronweb - Require authorization for transaction in Tron DApp

I'm working on realize a new Tron DApp, very simple. But I'm newbie so I'm working starting from this tutorial: https://blog.yudiz.com/build-your-first-dapp-on-tron-blockchain/ It helps me a lot. So, here what I've made: I've installed TronLink on…
Klode
  • 353
  • 3
  • 18
0
votes
1 answer

How to complete swap method for JustSwap smart-contract

I'am trying to complete JustSwap-contract S-USDT-TRX Token (TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE) But I am getting a response in the console: REVERT opcode executed My code: const TronWeb = require("tronweb"); const ethers = require("ethers") …
0
votes
2 answers

Tron Web - Validate TransferContract error, no OwnerAccount (Tron Link)

I am developing a block chain web application using Tron Web. I have followed the document but getting below error while using tronweb.trx.sign() function, Uncaught (in promise) class org.tron.core.exception.ContractValidateException :…
Jeswin Rebil
  • 460
  • 1
  • 7
  • 19