/erlang.html#type-list">list()</a> | <a href="/home/steven/devel/nostr/apps/erts/doc/erlang.html#type-binary">binary()</a></code></li><li><code>Return = {ok, <a href="/home/steven/devel/nostr/apps/erts/doc/erlang.html#type-map">map()</a>}</code></li></ul></p>
<p> </p>
</div><p>decode a sigwit address. This function can easily crash
  because it splits the string in two parts, the HRP, and the full
  address.
 </p>

<h3 class="function"><a name="decode-2">decode/2</a></h3>
<div class="spec">
<p><code>decode(