Wallet and signer policy layers are in early access. Talk to us if you’d like to participate.
Before you start
The examples below usehttps://app.dynamicauth.com/api/v0 as the base URL, your environment ID, and a bearer token for an authorized user.
- For business-account layers, the caller must be a business-account owner or admin.
- For wallet and signer layers, the caller must be the wallet owner. A business-account owner or admin can also manage layers for wallets and signers in their account.
Account-Layer
The account-Layer applies to every wallet in a business account. It is created on the first write.Read the account-Layer
Add or update a rule
Remove a rule
Wallet-Layer
The wallet-Layer applies to a single wallet.Read the wallet-Layer
Add or update a rule
Remove a rule
Signer-Layer
The signer-Layer applies to a single signer share set on a wallet. OmitshareSetId to target the caller’s own active share set.
Read the signer-Layer
Add or update a rule
Remove a rule
Signer-modifiable rules
To let a signer edit or remove a wallet or signer-layer rule later, setmodifiableBySigner: true when you create or update the rule. The signer can only modify the rule’s constraint fields, such as addresses and valueLimit. They cannot change the rule type or security settings.
modifiableBySigner cannot be used on environment-scope rules, and it cannot be combined with disableBlockaidSecurityChecks or operationRestrictions.