compose_btcpay
Compose a Bitcoin payment for a matched DEX order to finalize BTC trades on the Counterparty DEX. Set address, order match ID, inputs, and fee rate.
Instructions
Compose a BTC payment for a matched DEX order. Used to complete BTC trades on the DEX.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Source Bitcoin address | |
| inputs_set | No | Comma-separated UTXOs to use as inputs (txid:vout) | |
| sat_per_vbyte | No | Fee rate in satoshis per virtual byte (e.g. 1, 5.5, 0.15). Check get_fee_estimate for current market rates. | |
| order_match_id | Yes | ID of the order match to pay for |