snap_getBip44Entropy
Parameters
coinType
numbersource
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
0 | 1 | 2 | 3 | 4 | 5The 0-indexed BIP-44 path depth of this node.
A BIP-44 path is of the form:
m / 44' / coin_type' / account' / change / address_index
With the following depths:
0 / 1 / 2 / 3 / 4 / 5
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 hexadecimal string representation of the private key for this node.
May be undefined if the node is a public node.
publicKey
stringThe hexadecimal string representation of the public key for this node.
chainCode
stringThe hexadecimal string representation of the chain code for this node.