Can I somehow force bitcoin to include the script with getblock call?

I see that here https://github.com/bitcoin/bitcoin/pull/886 and here https://bitcointalk.org/index.php?topic=89725.0 there is indicated that it is possible with '{"tx":"obj", "script":"asm"}' option, but currently that returns error from bitcoind.

1 Answer 1


By looking at the source code here

https://github.com/bitcoin/bitcoin/blob/master/src/bitcoinrps.cpp https://github.com/bitcoin/bitcoin/blob/master/src/rpcblockchain.cpp

and comparing it to the code in the pull request in the question


it seems like it is NOT possible in the code today. Oh well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.