 class="n">pick</span><span class="p">(</span><span class="n">options</span><span class="p">,</span> <span class="n">title</span><span class="p">)</span>
</code></pre></div></div>

<p>When the option to claim all rewards is selected, the claim parameters are automatically assigned from the <code class="highlighter-rouge">get_accounts</code> query. We also check that there are in fact outstanding rewards balances before we commit the claim.</p>

<div class="language-python highlighter-rouge"><div class="high