Package org.bitcoindevkit
Interface AddressInterface
-
- All Implemented Interfaces:
public interface AddressInterface
A bitcoin address
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
AddressInterface.Companion
-
Method Summary
Modifier and Type Method Description abstract Boolean
isValidForNetwork(Network network)
Is the address valid for the provided network abstract Script
scriptPubkey()
Return the scriptPubKey
underlying an address.abstract AddressData
toAddressData()
Return the data for the address. abstract String
toQrUri()
Return a BIP-21 URI string for this address.
-
-
-
Method Detail
-
isValidForNetwork
abstract Boolean isValidForNetwork(Network network)
Is the address valid for the provided network
-
scriptPubkey
abstract Script scriptPubkey()
Return the
scriptPubKey
underlying an address.
-
toAddressData
abstract AddressData toAddressData()
Return the data for the address.
-
-