Skip to main content
  • Snap

snap_listEntropySources

Description

Get a list of entropy sources available to the Snap. The requesting origin must have at least one of the following permissions to access entropy source metadata:

  • snap_getBip32Entropy
  • snap_getBip32PublicKey
  • snap_getBip44Entropy
  • snap_getEntropy

Returns

{ name: string; id: string; type: "mnemonic"; primary: boolean }[]

An array of entropy sources available to the Snap. Each entropy source consists of:

  • name - The name of the entropy source.
  • id - The ID of the entropy source.
  • type - The type of the entropy source. Currently, only mnemonic is supported.
  • primary - Whether the entropy source is the primary source.