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

Help for placeOrder transaction hash #274

Open
xSpoooK opened this issue Oct 18, 2024 · 2 comments
Open

Help for placeOrder transaction hash #274

xSpoooK opened this issue Oct 18, 2024 · 2 comments

Comments

@xSpoooK
Copy link

xSpoooK commented Oct 18, 2024

Hello,

I'm currently trying to retrieve the txHash from the placeOrder method.

The documentation says that the placeOrder method return the transaction hash:
image

When I execute my code, I get this:
image

When I try to decode the hash using the toHex method from Cosmos, the hash seems to be not valid:
image

Can someone help me with this?

Thanks

Copy link

linear bot commented Oct 18, 2024

@xSpoooK
Copy link
Author

xSpoooK commented Oct 31, 2024

When I try to use broadcastTransactionSync, it throws an error, even though I can see on Mintscan that my transaction was actually synced and considered valid.

This issue seems to come from the queryHash function, which is called within broadcastTransaction and isn’t working as expected with a valid hash ?

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

No branches or pull requests

1 participant