# snap_listEntropySources

> Reference documentation for the `snap_listEntropySources` method of the Snaps API.

<SnapsAPIReference method={{"name":"snap_listEntropySources","description":"Get a list of entropy sources available to the Snap. The requesting origin\nmust have at least one of the following permissions to access entropy source\nmetadata:\n\n- `snap_getBip32Entropy`\n- `snap_getBip32PublicKey`\n- `snap_getBip44Entropy`\n- `snap_getEntropy`","parameters":{"kind":"primitive","type":"null","description":"This method does not accept any parameters."},"result":{"kind":"array","type":"{ name: string; id: string; type: \"mnemonic\"; primary: boolean }[]","description":"An array of entropy sources available to the Snap.","element":{"kind":"object","type":"{ name: string; id: string; type: \"mnemonic\"; primary: boolean }","description":"An entropy source that can be used to retrieve entropy using the\n`snap_get*Entropy` methods.","required":false,"properties":[{"kind":"primitive","type":"string","description":"The name of the entropy source.","name":"name"},{"kind":"primitive","type":"string","description":"The ID of the entropy source","name":"id"},{"kind":"primitive","type":"\"mnemonic\"","description":"The type of the entropy source. Currently, only `mnemonic` is supported.","name":"type"},{"kind":"primitive","type":"boolean","description":"Whether the entropy source is the primary source.","name":"primary"}]}},"subjectTypes":["snap"],"examples":[{"examples":[{"name":"Manifest","language":"json","content":"{\n  \"initialPermissions\": {\n    \"snap_getBip32Entropy\": {}\n  }\n}\n"},{"name":"Usage","language":"ts","content":"const entropySources = await snap.request({\n  method: 'snap_listEntropySources',\n})\nconsole.log(entropySources)\n// Example output:\n// [\n//   {\n//     name: 'Mnemonic 1',\n//     id: 'mnemonic-1',\n//     type: 'mnemonic',\n//     primary: true,\n//   },\n//   {\n//     name: 'Mnemonic 2',\n//     id: 'mnemonic-2',\n//     type: 'mnemonic',\n//     primary: false,\n//   },\n// ]\n"}]}],"restricted":false}}  />
