combinepsbt
combinepsbt ["psbt",...] Combine multiple partially signed Bitcoin transactions into one transaction. Implements the Combiner role. Arguments: 1. txs (json array, required) The base64 strings of partially signed transactions [ "psbt", (string) A base64 string of a PSBT ... ] Result: "str" (string) The base64-encoded partially signed transaction Examples: > bitcoin-cli combinepsbt '["mybase64_1", "mybase64_2", "mybase64_3"]'
Signature
combinepsbt(txs: array) → any Code samples
curl --user "$RPC_USER:$RPC_PASS" \
--data-binary '{"jsonrpc":"1.0","id":"docs","method":"combinepsbt","params":[[]]}' \
-H 'content-type: text/plain;' \
http://127.0.0.1:8332/ Parameters
| Name | Type | Req. | Description |
|---|---|---|---|
| txs | any[] | yes | The base64 strings of partially signed transactions [ "psbt", (string) A base64 string of a PSBT ... ] |
Result
Type: any
"str" (string) The base64-encoded partially signed transaction
Source: services/core-node/bcore/src/rpc/rawtransaction.cpp:4220
C++ symbol: combinepsbt