snap_getBip32Entropy
Parameters
curve
"ed25519" | "ed25519Bip32" | "secp256k1"path
string[]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
depth
numberThe 0-indexed path depth of this node.
masterFingerprint
number | nullThe fingerprint of the master node, i.e., the node at depth 0. May be undefined if this node was created from an extended key.
parentFingerprint
numberThe fingerprint of the parent key, or 0 if this is a master node.
index
numberThe index of the node, or 0 if this is a master node.
network
"mainnet" | "testnet" | nullThe network for the node. This is only used for extended keys, and defaults
to mainnet.
privateKey
string | nullThe (optional) private key of this node.
publicKey
stringThe public key of this node.
chainCode
stringThe chain code of this node.
curve
"ed25519" | "ed25519Bip32" | "secp256k1"The name of the curve used by the node.