build_claim
Build the UNSIGNED claim (reveals the secret on-chain). Requires both legs funded. secret = 32-byte hex preimage. EVM returns txs to sign and send; TRON returns a transaction whose txID you sign; Bitcoin returns sign="btc-sighash" with sighashHexes — one per escrow input: sign EACH with secp256k1 and pass them back through broadcast_tx as { psbtBase64, signaturesHex: [...], preimageHex }, and the witness is assembled for you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| leg | Yes | ||
| secret | Yes |