A abstraction on top of the NEAR public key string. Public key in a binary format with base58 string serialization with human-readable curve. The key types currently supported are secp256k1 and ed25519.
secp256k1
ed25519
The string you want to create a PublicKey from.
The actual value of the public key.
The curve type of the public key.
Static
Create a public key from a public key string.
The public key string you want to create a PublicKey from.
A abstraction on top of the NEAR public key string. Public key in a binary format with base58 string serialization with human-readable curve. The key types currently supported are
secp256k1
anded25519
.