Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendTrx reports an error when used #568

Open
xuetong6 opened this issue Oct 31, 2024 · 3 comments
Open

SendTrx reports an error when used #568

xuetong6 opened this issue Oct 31, 2024 · 3 comments

Comments

@xuetong6
Copy link

tronweb: "^6.0.0"
Shasta Testnet

const unsignedTxn = await tronWeb.transactionBuilder.sendTrx( to, amount, from ); console.log(unsignedTxn)
report errors:
AxiosError: maxContentLength size of -1 exceeded

@Satan-web3
Copy link
Contributor

TransactionBuilder uses local build and the error is like a network error. So please check other parts of your code to locate the problem.

@xuetong6
Copy link
Author

TransactionBuilder uses local build and the error is like a network error. So please check other parts of your code to locate the problem.

Error locating to this sentence, just upgraded Tronweb

@Satan-web3
Copy link
Contributor

Could you snapshot the error and upload?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@xuetong6 @Satan-web3 and others