covenant_build
Assemble a covenant spend tx. Each input: {txid, index, entry, compute_budget?, and either sigscript:{source,decl,args,is_leader?} to build a covenant sigscript server-side, or omit sigscript for a P2PK input you sign locally}. Each output: {amount, address|script_public_key_hex, covenant?:{authorizing_input,covenant_id}}. Returns the tx, a broadcast-ready rpc_transaction, fee accounting, and (if fully authorized) a pre-verify. We never sign. Paid (~$0.001).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| network | No | mainnet | |
| outputs | Yes | ||
| lock_time | No | ||
| payload_hex | No |