dydxprotocol / v4-clients

Other
78 stars 57 forks source link

Help for placeOrder transaction hash #274

Open xSpoooK opened 1 month ago

xSpoooK commented 1 month ago

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

linear[bot] commented 1 month ago

GH-75 Help for placeOrder transaction hash

xSpoooK commented 3 weeks ago

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 ?