Check delegation status
UsehasDelegatedAccess to check whether a wallet account already has delegated access before triggering the delegation flow.
Trigger delegation
UsedelegateWaasKeyShares to initiate the delegation process for a wallet account. This sends the encrypted delegated share to your server via the wallet.delegation.created webhook.
With password encryption
If the wallet uses password encryption, pass the password when delegating. The delegated share will be encrypted with the password before being sent.Seed initial policy rules
You can seed the delegated signer’s policy layer at delegation time by passinginitialSignerRules. Build each rule with buildAllowPolicyRule or buildDenyPolicyRule.
- JavaScript
- React
initialSignerRules uses the raw WaasPolicyRule shape, not the PolicyRules map used by createPolicy. After delegation, you can read or update the delegated signer layer with getPolicy and createPolicy.Parameters
What's next?
Learn how to receive the delegation materials on your server