haven icon indicating copy to clipboard operation
haven copied to clipboard

Method not found

Open megolosov opened this issue 7 years ago • 1 comments

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

megolosov avatar Oct 18 '18 10:10 megolosov

@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 https://github.com/glemercier/haven/commit/9a7e99e28341501e2bb3a8c3cf7e6305cee63be7.

glemercier avatar Oct 28 '18 11:10 glemercier