Package org.bitcoindevkit
Class Address
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.bitcoindevkit.AddressInterface,org.bitcoindevkit.Disposable
public class Address implements Disposable, AutoCloseable, AddressInterface
A bitcoin address
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAddress.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static Address.CompanionCompanion
-
Method Summary
Modifier and Type Method Description Unitdestroy()Unitclose()final PointeruniffiClonePointer()BooleanisValidForNetwork(Network network)Is the address valid for the provided network ScriptscriptPubkey()Return the scriptPubKeyunderlying an address.AddressDatatoAddressData()Return the data for the address. StringtoQrUri()Return a BIP-21 URI string for this address. StringtoString()Booleanequals(Object other)-
-
Method Detail
-
uniffiClonePointer
final Pointer uniffiClonePointer()
-
isValidForNetwork
Boolean isValidForNetwork(Network network)
Is the address valid for the provided network
-
scriptPubkey
Script scriptPubkey()
Return the
scriptPubKeyunderlying an address.
-
toAddressData
AddressData toAddressData()
Return the data for the address.
-
-
-
-