Description
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));
} catch (error) {
console.error('Error sending:', error);
}
}
//this code above works and send tron but below returns response but transaction isnt published
async function withdrawToAddress() {
try {
const bitgo = new BitGoJS.BitGo({ env: 'prod', accessToken: ACCESS_TOKEN });;
const wallet = await bitgo.coin('trx:usdt').wallets().get({ id: WALLET_ID });
wallet.sendMany({
recipients: [
{
amount: '5000000',
address: 'RECEIVE_ADDR',
}
],
walletPassphrase: PASS_PHRASE,
type: 'TokenTransfer',
}).then(response => console.log(response));
} catch (error) {
console.error('Error sending:', error);
}
}
`
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