r><span class="parameter" id="detectFormat-param-address"><span class="type-annotation">String</span> <span class="parameter-name">address</span></span>)
            <span class="returntype parameter">&#8594; int</span>
          </span>
                  </dt>
        <dd>
          Detects type of the address and returns <a href="bitbox/Address/formatCashAddr-constant.html">formatCashAddr</a> or <a href="bitbox/Address/formatLegacy-constant.html">formatLegacy</a>
                  
</dd>
        <dt id="g