Build a payment for me to sign
warda_build_spendAssemble an unsigned Kaspa transaction that spends from this grant, and return the digest to sign. THIS SERVER NEVER SEES YOUR KEY and never signs: it hands back bytes, and you sign the digest wherever your key lives. It also returns the advisory verdict, but it builds the transaction either way — a local rule that is too strict must not be able to block a payment the chain would accept. If the verdict says refused, broadcasting will cost a fee and fail.
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. | |
| grant | Yes | The grant, as issued by the principal. | |
| daaScore | Yes | Current DAA score of the chain. | |
| feeSompi | No | Defaults to 1000000. A spend carries a ~3KB redeem script, so its mass is dominated by size. | |
| amountKas | Yes | Amount to pay, in KAS. | |
| recipient | Yes | Payee public key, 32 bytes of hex. Must be on the allowlist. | |
| computeBudget | No | Defaults to 16. Charged as mass, so over-provisioning costs money and under-provisioning is rejected outright. |