You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i try to send transactions on the tron network using sendMany it works fine for me but issue right now is that i tried sending usdt token in the tron wallet, i always get response that it was signed but the transaction is not publish on the blockhain
Upon completing your report, copy the link to this issue, and submit the information to: https://bitgo.freshdesk.com/.
This will help us review, prioritize, and assign the issue to internal teams. Doing this helps us stay accountable to your submission in a timely manner. Thank you!
-->
Environment Details
OS:
Node Version:
Yarn Version:
BitGoJS Version:
BitGo Environment:
Expected Behavior
transaction is supposed to the published and sent on network
Current Behavior
ransaction is not to published and sent on network
The text was updated successfully, but these errors were encountered:
I just tried this in testnet and had no issues. Could you please try with this script? Also, are you able to provide the transaction ID of what was generated the first time and did not get on-chain?
constBitGoJS=require('bitgo');constbitgo=newBitGoJS.BitGo({env: 'prod'});constcoin='trx:usdt';constbasecoin=bitgo.coin(coin);// TODO: set your access token hereconstaccessToken=ACCESS_TOKEN;constwalletId=WALLET_ID;// TODO: set your passphrase hereconstwalletPassphrase=WALLET_PASS;asyncfunctionwithdrawToAddress(){bitgo.authenticateWithAccessToken({accessToken: accessToken});awaitbitgo.unlock({otp: '000000',duration: 3600});constwalletInstance=awaitbasecoin.wallets().get({id: walletId});consttransaction=awaitwalletInstance.sendMany({recipients: [{amount: AMOUNT,address: RECEIPIENT_ADDRESS',},],walletPassphrase: walletPassphrase,});console.log('Wallet ID:',walletInstance.id());console.log('New Transaction:',JSON.stringify(transaction,null,4));})();
@spoonincode
i try to send transactions on the tron network using sendMany it works fine for me but issue right now is that i tried sending usdt token in the tron wallet, i always get response that it was signed but the transaction is not publish on the blockhain
`
async function withdrawToAddress() {
try {
const bitgo = new BitGoJS.BitGo({ env: 'prod', accessToken: ACCESS_TOKEN });;
const wallet = await bitgo.coin('trx').wallets().get({ id: WALLET_ID });
wallet.sendMany({
recipients: [
{
amount: '5000000',
address: 'RECEIVE_ADDR',
}
],
walletPassphrase: PASS_PHRASE,
type: 'TokenTransfer',
}).then(response => console.log(response));
}
//this code above works and send tron but below returns response but transaction isnt published
async function withdrawToAddress() {
try {
}
`
Upon completing your report, copy the link to this issue, and submit the information to: https://bitgo.freshdesk.com/.
This will help us review, prioritize, and assign the issue to internal teams. Doing this helps us stay accountable to your submission in a timely manner. Thank you!
-->
Environment Details
Expected Behavior
transaction is supposed to the published and sent on network
Current Behavior
ransaction is not to published and sent on network
The text was updated successfully, but these errors were encountered: