Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public static final class Bech32.SegwitAddress

  1. Object
  2. Bech32.SegwitAddress

Methods

public int getVersion()Returns the witness version, 0 to 16.
public byte[] getProgram()Returns the witness program bytes.

Inherited methods

Method details

getVersion

public int getVersion()
Returns the witness version, 0 to 16.

getProgram

public byte[] getProgram()
Returns the witness program bytes.