A raw secp256k1 public key.
The type itself does not give you any guarantee if this is compressed or uncompressed. If you are unsure where the data is coming from, use Secp256k1.compressPubkey or Secp256k1.uncompressPubkey (both idempotent) before processing it.
Secp256k1.compressPubkey
Secp256k1.uncompressPubkey
A 32 byte private key
Generated using TypeDoc
A raw secp256k1 public key.
The type itself does not give you any guarantee if this is compressed or uncompressed. If you are unsure where the data is coming from, use
Secp256k1.compressPubkey
orSecp256k1.uncompressPubkey
(both idempotent) before processing it.