Optional
obj: anyReturns the underlying C++ object, transferring ownership from this instance to the caller.
The underlying object of the instance.
Serializes the instance to a hexadecimal string.
A hexadecimal string representation of the instance.
Returns the size of the underlying C++ object.
The size of the underlying C++ object in bytes.
Returns a string representation of the instance.
A string representation of the instance.
Returnsthe underlying C++ object.
The underlying C++ object.
Static
deserializeDeserializes a hexadecimal string into a DoublePublicKey
instance.
The hexadecimal string to convert.
The DoublePublicKey
instance represented by the input string.
Static
fromGenerates a DoublePublicKey
from the provided ViewKey
, PublicKey
, account, and address
A new DoublePublicKey
instance.
Static
fromConstucts a new instance using the provided object.
The object to use for the new instance.
A new instance of the class.
Static
fromConstructs a new instance using the provided object and size.
The object to use for the new instance.
The size of the object.
A new instance of the class.
Static
fromGenerates a DoublePublicKey
from the provided PublicKey
s.
A new DoublePublicKey
instance.
Static
randomGenerates a random DoublePublicKey
.
A new DoublePublicKey instance with two random PublicKey
s.
The unique source from which an address is derived. A
DoublePublicKey
is a pair ofPublicKey
s that can be used to derive an address.Instantiating a
DoublePublicKey
object without a parameter returns aDoublePublicKey
consisting of two randomly generatedPublicKey
s.Examples: