radiant_build_transaction
Create and sign a Radiant transaction in dry-run mode to review raw hex, fee, and size before broadcast. Prevent costly mistakes by inspecting first, then broadcast by setting dry_run=false.
Instructions
Build and sign a transaction in dry-run mode — returns the raw hex, fee, and size WITHOUT broadcasting. Critical for high-value operations: inspect the transaction before committing. Set dry_run=false to also broadcast after building.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wif | No | WIF-encoded private key of the sender (transient). Provide this OR key_alias. | |
| dry_run | No | If true (default), build and sign but do NOT broadcast. Set false to broadcast. | |
| outputs | Yes | Array of {address, satoshis} outputs | |
| key_alias | No | Alias of a key previously registered with radiant_register_key. Preferred. | |
| fee_per_byte | No | Fee rate in photons/byte (default: 10000, the mainnet V2 min-relay floor) | |
| change_address | No | Change address (defaults to sender address) |