Implemented getblockvalue RPC call