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
- Object
- Bech32.SegwitAddress
The result of
decodeSegwitAddress(String, String).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.