{"version":3,"file":"get-entropy.mjs","sourceRoot":"","sources":["../../../src/types/methods/get-entropy.ts"],"names":[],"mappings":"","sourcesContent":["import type { Hex } from '@metamask/utils';\n\n/**\n * An object containing the parameters for the `snap_getEntropy` method.\n */\nexport type GetEntropyParams = {\n  /**\n   * The version of the entropy to retrieve. This is reserved for future use,\n   * and as of now, only version 1 is supported.\n   */\n  version: 1;\n\n  /**\n   * An arbitrary string to be used as a salt for the entropy. This can be used\n   * to generate different entropy for different purposes.\n   */\n  salt?: string | undefined;\n\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 entropy as a hexadecimal string.\n */\nexport type GetEntropyResult = Hex;\n"]}