2025-10-03 14:45:52 -04:00
|
|
|
---
|
|
|
|
|
title: Query DWN Module Parameters
|
|
|
|
|
description: Get current configuration settings for the DWN module
|
2026-09-02 16:53:38 -04:00
|
|
|
seo:
|
|
|
|
|
title: "DWN Module Configuration"
|
2025-10-03 14:45:52 -04:00
|
|
|
---
|
|
|
|
|
|
2026-09-02 16:53:38 -04:00
|
|
|
:::info
|
|
|
|
|
Module parameters control the global behavior of all DWN operations on the network.
|
|
|
|
|
:::
|
2025-10-03 14:45:52 -04:00
|
|
|
|
|
|
|
|
## Parameter Categories
|
|
|
|
|
|
|
|
|
|
### Storage Configuration
|
|
|
|
|
- **maxRecordSize**: Maximum bytes per record (default: 10MB)
|
|
|
|
|
- **maxProtocolsPerDwn**: Protocol limit per DWN
|
|
|
|
|
- **maxPermissionsPerDwn**: Permission limit per DWN
|
|
|
|
|
|
|
|
|
|
### Vault Security
|
|
|
|
|
- **vaultCreationEnabled**: Whether new vaults can be created
|
|
|
|
|
- **minVaultRefreshInterval**: Blocks between key refreshes
|
|
|
|
|
- **keyRotationDays**: Automatic rotation schedule
|
|
|
|
|
- **minValidatorsForKeyGen**: Validator consensus threshold
|
|
|
|
|
|
|
|
|
|
### Encryption Policies
|
|
|
|
|
- **encryptionEnabled**: Global encryption enforcement
|
|
|
|
|
- **encryptedProtocols**: Protocols requiring encryption
|
|
|
|
|
- **encryptedSchemas**: Schemas requiring encryption
|
|
|
|
|
- **singleNodeFallback**: Development mode setting
|
|
|
|
|
|
2026-09-02 16:53:38 -04:00
|
|
|
:::tip
|
|
|
|
|
Query parameters before designing your application to ensure compliance with network limits.
|
|
|
|
|
:::
|