pset_finalize
Finalize a PSET by attaching a Simplicity program and witness, completing the signing process for Liquid/Elements transactions.
Instructions
Finalize a PSET by attaching a Simplicity program and witness. Uses hal-simplicity-signer (pset-signer branch). This completes the signing process.
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": {
"pset": "<pset>",
"program": "<program>",
"witness": "<witness>"
},
"name": "pset_finalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pset | Yes | The PSET to finalize (with UTXO data) | |
| program | Yes | Base64-encoded Simplicity program | |
| witness | Yes | Hex-encoded witness data |