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 class
Address.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static Address.Companion
Companion
-
Method Summary
Modifier and Type Method Description Unit
destroy()
Unit
close()
final Pointer
uniffiClonePointer()
Boolean
isValidForNetwork(Network network)
Is the address valid for the provided network Script
scriptPubkey()
Return the scriptPubKey
underlying an address.AddressData
toAddressData()
Return the data for the address. String
toQrUri()
Return a BIP-21 URI string for this address. String
toString()
Boolean
equals(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
scriptPubKey
underlying an address.
-
toAddressData
AddressData toAddressData()
Return the data for the address.
-
-