-
I want to get recipient's address and amount, but I don't know how to parse the payload. I do know what I need is in the payload |
Beta Was this translation helpful? Give feedback.
Answered by
jolestar
Apr 29, 2021
Replies: 2 comments 2 replies
-
The document is out of date, the payload struct is defined at starcoin/vm/types/src/transaction/mod.rs Line 305 in 99f0392 What is the language that you used to parse the payload? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
eden-wang
-
starcoin.js also provides function to decode transaction payload. Examples can be found here: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The document is out of date, the payload struct is defined at
starcoin/vm/types/src/transaction/mod.rs
Line 305 in 99f0392
What is the language that you used to parse the payload?