compose_attach
Composes a Bitcoin transaction that attaches a specified amount of a Counterparty asset to a chosen UTXO, enabling token binding to specific outputs.
Instructions
Compose a transaction to attach Counterparty tokens to a specific UTXO
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": {
"address": "<address>",
"asset": "<asset>",
"quantity": "<quantity>"
},
"name": "compose_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset to attach | |
| address | Yes | Source Bitcoin address | |
| quantity | Yes | Raw integer amount to attach. For divisible: human amount * 10^8. | |
| 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. | |
| destination_vout | No | Output index to attach to |