Skip to main content
  • Snap
  • Restricted

snap_getBip32PublicKey

Parameters

curve

"ed25519" | "ed25519Bip32" | "secp256k1"

path

string[]

compressed

boolean | null

Whether to return the compressed public key. Defaults to false.

source

string | null

The ID of the entropy source to use. If not specified, the primary entropy source will be used. For a list of available entropy sources, see the snap_listEntropySources method.

Returns

string

The result returned by the snap_getBip32PublicKey method.

It is the public key in hexadecimal format, in either compressed or uncompressed format, depending on the compressed parameter.