UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

1 lines 845 B
{"version":3,"file":"get-bip32-entropy.cjs","sourceRoot":"","sources":["../../../src/types/methods/get-bip32-entropy.ts"],"names":[],"mappings":"","sourcesContent":["import type { JsonSLIP10Node } from '@metamask/key-tree';\n\nimport type { Bip32Entropy } from '../permissions';\n\n/**\n * The request parameters for the `snap_getBip32Entropy` method.\n */\nexport type GetBip32EntropyParams = Bip32Entropy & {\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 * The result returned by the `snap_getBip32Entropy` method.\n *\n * @see https://github.com/MetaMask/key-tree#usage\n */\nexport type GetBip32EntropyResult = JsonSLIP10Node;\n"]}