snap_getBip32PublicKey
Parameters
curve
"ed25519" | "ed25519Bip32" | "secp256k1"path
string[]compressed
boolean | nullWhether to return the compressed public key. Defaults to false.
source
string | nullThe 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.