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

Inaccurate/Outdated Quick Start Guide #585

Open
eggrollius opened this issue Dec 14, 2024 · 2 comments
Open

Inaccurate/Outdated Quick Start Guide #585

eggrollius opened this issue Dec 14, 2024 · 2 comments

Comments

@eggrollius
Copy link

Here is a screenshot of code from the TronWeb QuickStart Guide:
link
image

Here is the documentation for the sendTransaction() function:
link
image

I think it is clear that the quick start guide is inaccurate, the quick start guide says to pass in a signed transaction object into the sendTransaction() function. But the send transaction function actually accepts an address, amount and private key.

Can I update the documentation?

@Stan202310
Copy link

Stan202310 commented Dec 16, 2024

Actually, the sendRawTransaction function is for broadcasting transactions. So the quickstart guide is wrong. We'll fix it in the next documentation update.

@Stan202310
Copy link

The documentation has been updated.

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

2 participants