tatumio / tatum-js

🚀 Tatum SDK: A 💪 powerful, 🌟 feature-rich TypeScript/JavaScript 📚 library that streamlines the 🛠️ development of 🌐 blockchain applications.
https://docs.tatum.io
MIT License
360 stars 110 forks source link

TypeError: Body is unusable #1098

Open iaminnasr opened 4 months ago

iaminnasr commented 4 months ago

when i want to get balance for trx i get this error TypeError: Body is unusable

const tatum = await TatumSDK.init<Tron>({ network: Network.TRON, logger, apiKey: { v4:'*', }, configureWalletProviders: [TronWalletProvider], // retryCount: 3, }); const balance = await tatum.rpc.getBalance( 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t' );

but i test with TronWeb and no problem