Package ch.bitagent.bitcoin.lib.wallet
Class Address
- java.lang.Object
-
- ch.bitagent.bitcoin.lib.wallet.Address
-
public class Address extends Object
Address
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()byte[]hash160()booleanisBech32Address()Is it a bech32 address?booleanisInvoiceAddress()Is it an invoice address?booleanisP2pkhAddress()Is it a pay-to-pubkey-hash address?booleanisP2shAddress()Is it a pay-to-script-hash address?static Addressparse(String address)
-
-
-
Constructor Detail
-
Address
public Address(String address)
-
-
Method Detail
-
isInvoiceAddress
public boolean isInvoiceAddress()
Is it an invoice address?
Invoice address- Returns:
- .
-
isP2pkhAddress
public boolean isP2pkhAddress()
Is it a pay-to-pubkey-hash address?
Pay-to-PubkeyHash- Returns:
- .
-
isP2shAddress
public boolean isP2shAddress()
Is it a pay-to-script-hash address?
Pay to script hash- Returns:
- .
-
isBech32Address
public boolean isBech32Address()
Is it a bech32 address?
Bech32- Returns:
- .
-
address
public String address()
-
hash160
public byte[] hash160()
-
-