UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

1 lines 845 B
{"version":3,"file":"get-bip44-entropy.cjs","sourceRoot":"","sources":["../../../src/types/methods/get-bip44-entropy.ts"],"names":[],"mappings":"","sourcesContent":["import type { JsonBIP44CoinTypeNode } from '@metamask/key-tree';\n\nimport type { Bip44Entropy } from '../permissions';\n\n/**\n * An object containing the parameters for the `snap_getBip44Entropy` method.\n */\nexport type GetBip44EntropyParams = Bip44Entropy & {\n /**\n * The ID of the entropy source to use. If not specified, the primary entropy\n * source will be used. For a list of available entropy sources, see the\n * `snap_listEntropySources` method.\n */\n source?: string | undefined;\n};\n\n/**\n * A JSON-serializable BIP-44 coin type node containing the requested BIP-44\n * entropy.\n */\nexport type GetBip44EntropyResult = JsonBIP44CoinTypeNode;\n"]}