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

No such method error #129

Open
przhevvalsky opened this issue May 20, 2024 · 1 comment
Open

No such method error #129

przhevvalsky opened this issue May 20, 2024 · 1 comment

Comments

@przhevvalsky
Copy link

Hi, I need to send a transaction to TRX test network - Shasta. On this site - https://developers.tron.network/reference/sending-transactions, there is an example how to do it using Tridient SDK. -
image

After successfully adding the jar files to my project, I proceeded with further implementation based on the information provided in the link above. I implemented the transfer method as described in the example, but initially I didn't have access to the createTransaction2 method call, so I had to uncomment it in api.proto and rebuild and add the exposed jar files to my project. image

After that, when I run the transfer method, an error is thrown. image

Using debug, the exact place in this method
image
image
image

Could you help me to solve that problem, please

@przhevvalsky przhevvalsky changed the title No such method found No such method error May 21, 2024
@endiaoekoe
Copy link
Contributor

hi, @przhevvalsky
currently, only createTransaction() method is supported via grpc endpoint accessing. check it out here
From the error you described above. which means it is not supported on the server side.
if you want to test transfer assets, you can use the transfer() method directly.

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