Closed dappd closed 1 year ago
You just create a transaction, you need to sign and broadcast your transaction so it will be shown on chain.
const signedTransaction = await tronWeb.trx.sign(result);
const result2 = await tronWeb.trx.sendRawTransaction(signedTransaction);
ahhh, I see, my bad. I was using methods from trx
domain and they already sign and broadcast, so I was confused.
Thanks
hey guys. I am using TronWeb lib to create wallets, send TRX, USDT and it's all working as expected. Now I am trying to implement staking using new version 2.0. I use newly implemented method
freezeBalanceV2
, receive successful response but the actual transaction doesn't exist on chain and resources are not stacked. Here is my setup:the result of it is
but transaction 0350510c2c89e0dd1cd3fc4817fae30484aeb1a1466e23fac3fb1bafdc94f6dc doesn't exist on the shasta chain. My testing wallet is https://shasta.tronscan.org/#/address/TGFveiYX79EQ4ZwPQF9av8GNExdYnG2sMv (you can see Stake 2.0 transaction, it was manually created on tronscan)