Author

Topic: bitcoin-cli -decodescript "hex" - method not found (Read 466 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
Don't have the - in front of your command. The - means that it is an option, not a parameter. The RPC call is a parameter, not an option.

Your command should be
Code:
bitcoin-cli decodescript "hex"
member
Activity: 138
Merit: 25
First after calling was
error code: -28
error message:
Loading block index...

next:
error code: -28
error message:
Verifying blocks...

but at last:
error code: -32601
error message:
Method not found

--------------

Ok, need be "decodescript" not "-decodescript"
Jump to: