Build a delegation for me to sign
warda_build_delegationAssemble an unsigned transaction that subdivides this grant into a child for a sub-agent, and return the digest to sign with the PARENT's agent key. THIS SERVER NEVER SEES YOUR KEY. A child can only ever be more restrictive than its parent, and the parent reserves exactly what the child receives — authority is subdivided, never created. Narrowing the child's allowlist needs the parent's full member list, because the witness is a path through the parent's tree and a root alone cannot produce one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| utxo | Yes | The grant's CURRENT UTXO. Its address moves after every spend, so a stale one will not be found. | |
| parent | Yes | The grant, as issued by the principal. | |
| prefix | No | Address prefix: kaspa, kaspatest, kaspasim or kaspadev. Defaults to kaspatest. | |
| feeSompi | No | ||
| childAgentKey | Yes | The sub-agent's x-only public key, 32 bytes of hex. | |
| computeBudget | No | ||
| childBudgetKas | Yes | ||
| childExpiresAt | No | A short window is the only attenuation that ends BY ITSELF, with nobody online to revoke. | |
| childNotBefore | No | Inherited from the parent when omitted. | |
| childRecipients | No | A subset of the parent's allowlist. Omit to inherit all of it. | |
| parentRecipients | No | The parent's FULL member list. Required only when childRecipients narrows it. | |
| childEpochLimitKas | Yes | ||
| childMaxPerSpendKas | Yes | ||
| childDelegationDepth | Yes | Strictly less than the parent's, or the tree could not terminate. |