Skip to content
New issue

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

Method not found #31

Open
megolosov opened this issue Oct 18, 2018 · 1 comment
Open

Method not found #31

megolosov opened this issue Oct 18, 2018 · 1 comment

Comments

@megolosov
Copy link

Hi,

I am trying to get information about the block from the RPC demon.

method: get_info - it is OK

method: get_block

{'jsonrpc': '2.0', 'error': {'code': -32601, 'message': 'Method not found'}, 'id': ''}

documentation used from
https://getmonero.org/resources/developer-guides/daemon-rpc.html#get_block

help me

@glemercier
Copy link

@megolosov, you can use getblock which is the exact same RPC method as exposed by the Monero daemon. If you still wants to use get_block, you can apply this patch glemercier@9a7e99e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants