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

Documents and examples for using grpc client in Python and curl #487

Open
damascene opened this issue Sep 2, 2021 · 0 comments
Open

Documents and examples for using grpc client in Python and curl #487

damascene opened this issue Sep 2, 2021 · 0 comments

Comments

@damascene
Copy link
Contributor

BCHD is praised for many of it's unique features. grpc is one of them however when trying to query using Python it seems like there are lack of documentation and examples.
When I was playing with it I was able to feed it a bitcoin cash address and get results but when doing the same with transaction id and token ids it seems like it needs special formats and it is not taking the usual tx id that is shown in wallets and explorers.

One of the errors I saw was,
invalid hash length of 64, want 32","grpc_status":10
also errors about requiring bytes instead of string. Senior devs may be able to find their way around but for others they could get lost :)

If you provide the more info about when the usual format for address, tx id, token id and similar is not accepted and a way to convert it probably I might be able to help writing some simple examples.

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

1 participant