We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why does the decode function not work for encodeForSigning
decode
encodeForSigning
here is a basic transaction I have encoded for signing but then when I try to decode it, it throws the error show
{ "TransactionType": "Payment", "Account": "rMFg63bQtKCNQiJt5JSKoGvbcVm2MMu1Bv", "Destination": "rD3SybPcGeFuM5sPXuBJu739C6qr5kYeke", "Amount": "1000000", "Sequence": 2268372, "Fee": "12", "LastLedgerSequence": 3006397 }
binary-parser.js:126 Uncaught (in promise) Error: Cannot read FieldOrdinal, type_code 0 out of range
What am I missing?
The text was updated successfully, but these errors were encountered:
It has a different prefix and includes a different set of fields. It might work if you remove the 0x54584e00 at the beginning.
0x54584e00
Sorry, something went wrong.
No branches or pull requests
Why does the
decode
function not work forencodeForSigning
here is a basic transaction I have encoded for signing but then when I try to decode it, it throws the error show
binary-parser.js:126 Uncaught (in promise) Error: Cannot read FieldOrdinal, type_code 0 out of range
What am I missing?
The text was updated successfully, but these errors were encountered: