Properties
publicKey
publicKey: string
Methods
equals
-
Parameters
Returns boolean
toDTO
- toDTO(): { address: { address: string; networkType: NetworkType }; publicKey: string }
-
Returns { address: { address: string; networkType: NetworkType }; publicKey: string }
-
address: { address: string; networkType: NetworkType }
-
publicKey: string
verifySignature
- verifySignature(data: string, signature: string): boolean
-
Parameters
-
data: string
-
signature: string
Returns boolean
- True if the signature is valid, false otherwise.
Static createFromPublicKey
The public account structure contains account's address and public key.