I am studying the wallet code and I found that it executes http://localhost/getblocks.bin request to the monero daemon. However when I try to execute this request in a browser (using GET method) it returns 404. I was just trying to see what the output looks like.

I am able to call all the other endpoints just *.bin gives me trouble.

What is so special about them? How I am supposed to build my HTTP request in order to succeed?

1 Answer 1


Firstly, all of the .bin methods are binary methods (as the suffix alludes to). The input and output parameters are binary, serialized objects as defined in this file

These methods are generally for more specialized use cases. In almost all normal use cases, the JSON methods should suffice.

For getblocks.bin, there is some documentation here which details the input and output parameters.

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.