Replies: 1 comment
-
How to implement option::Option in the right way? I'm getting error FAILED_TO_DESERIALIZE_ARGUMENT |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
I encountered a problem with serializing different types of arguments, and I can't figure it out for the second day!
I'm getting data from an exchange API, which generates different paths to perform a certain exchange.
And I receive the following data:
It's specifically the arguments, I need to pass them to EntryFunction.natural.
The first thought is to check what types are specified in the ABI or in the module and apply them.
And here it is:
And here I am starting to run into problems. I’ve tried many different options, searched for information on how to correctly serialize the data, but apparently I didn't search well, because I haven’t found anything.
Here’s an example of the data I get from the wallet:
I don't know how to solve this.
Can you help me figure out how to correctly form the arguments for the transaction?
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
macOS
Which SDK or tool are you using? (if any)
Python SDK
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions