Main documentation
Preparing search index...
The search index is not available
massa-web3
massa-web3
utils
keyAndAddresses
PublicKey
Class PublicKey
The PublicKey class represents a cryptographic public key.
Remarks
The public key is derived from the secret key and got the same version as the secret key.
String representation is P + base58Check(version_bytes + public_key_hash_bytes)
bytes attribute is the Uint8Array representation of the public key.
Index
Constructors
constructor
Properties
base58
Encoded
bytes
version
Methods
from
String
Constructors
constructor
new
Public
Key
(
bytes
,
version
)
:
PublicKey
Parameters
bytes
:
Uint8Array
version
:
number
Returns
PublicKey
Properties
base58
Encoded
base58
Encoded
:
string
bytes
bytes
:
Uint8Array
version
version
:
number
Methods
Static
from
String
from
String
(
base58Encoded
)
:
PublicKey
Parameters
base58Encoded
:
string
Returns
PublicKey
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
base58
Encoded
bytes
version
from
String
Wallet operations
Smart contracts operations
Events
Public API
Private API
massa-web3
References
Address
PublicKey
SecretKey
Namespaces
utils
Enumerations
ArgTypes
ArrayTypes
DefaultProviderUrls
EOperationStatus
OperationTypeId
ProviderType
Classes
Args
Client
ClientFactory
EventPoller
PrivateApiClient
PublicApiClient
SmartContractsClient
Loading...
Generated using
TypeDoc
The PublicKey class represents a cryptographic public key.
Remarks