PublicKey
PublicKey contains a public key byte array for a particular CurveType encoded in hex. Note that there is no PrivateKey struct as this is NEVER the concern of an implementation.
Properties
Name | Type | Description | Required |
---|---|---|---|
hex_bytes | String | Hex-encoded public key bytes in the format specified by the CurveType. | True |
curve_type | CurveType | CurveType is the type of cryptographic curve associated with a PublicKey. | True |
Example
{
"hex_bytes": "string",
"curve_type": "secp256k1"
}