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
When creating a raw transaction and trying to decode it, btcctl will fail with the following message: -22: TX decode failed: unexpected EOF
-22: TX decode failed: unexpected EOF
Here is a command to test:
btcctl --testnet createrawtransaction [] '{"2NDo7puirGENK7nPaEXsjrS6DeTpqrGBPgK": 0.001}' | btcctl --testnet decoderawtransaction -
The text was updated successfully, but these errors were encountered:
Same error for me on testnet.
Sorry, something went wrong.
Not an issue. Unexpected EOF is because the raw transaction has no inputs:
createrawtransaction [] '{"mxh3H416KCRoBDiweSESew5YJyAk1nxLrN": 0.001}' 01000000 00 01 a086010000000000 1976a914bc627512d57399444b101486fb839a05c16d7b2488ac 00000000
An example specifying the transaction inputs:
createrawtransaction '[{"txid" : "0cfae98c1bae87b190800f9d33cf6458a84582bbaaf54d22750ccde50235405b","vout" : 0}]' '{"mxh3H416KCRoBDiweSESew5YJyAk1nxLrN": 0.001}'
No branches or pull requests
When creating a raw transaction and trying to decode it, btcctl will fail with the following message:
-22: TX decode failed: unexpected EOF
Here is a command to test:
The text was updated successfully, but these errors were encountered: