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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"grant": "<grant>",
"amountKas": "<amountKas>",
"recipient": "<recipient>",
"daaScore": "<daaScore>",
"utxo": "<utxo>"
},
"name": "warda_build_spend"
}
}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 3000000. A covenant spend carries the whole redeem script in its signature script — about 7KB — so its mass is dominated by size and an ordinary transfer's fee is rejected as non-standard. | |
| 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. |