Snaps follow the EIP-2255 wallet permissions specification,
and you must specify a Snap's required permissions (except for dynamic permissions)
initialPermissions field of the manifest file.
RPC API permissions
You must request permission to use any restricted JSON-RPC API methods.
For example, to request to use
snap_dialog, add the
following to the manifest file:
Endowments are a type of permission. See the Snaps permissions reference for the full list of endowments you can specify in the manifest file.
For example, to request the
permission, add the following to the manifest file:
Dynamic permissions are not requested in the manifest file. Instead, your Snap can acquire dynamic permissions during its lifecycle.
eth_accounts Dynamic Permission
for more information.