tnesses</code> function. The result of this query is displayed on the UI.</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">#print list of active witnesses
</span><span class="k">print</span><span class="p">(</span><span class="s">'ACTIVE WITNESSES'</span><span class="p">)</span>
<span class="n">witness_list</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="n">get_active_witnesses</span><sp