adaptor.partial
adaptor.partial "psbt" Produce partial adaptor signatures for wallet-controlled Taproot inputs (key-path or annotated script-path). Arguments: 1. psbt (string, required) Base64-encoded PSBT Result: { (json object) "psbt" : "str", (string) Updated PSBT "complete" : true|false, (boolean) Whether all inputs now have final taproot signatures "hex" : "hex", (string, optional) Final transaction hex (present when complete=true and extraction succeeded) "txid" : "hex" (string, optional) Transaction id (present when hex is returned) } Examples: > bitcoin-cli adaptor.prepare "psbt_base64"
Signature
adaptor.partial(psbt: string) → any Code samples
curl --user "$RPC_USER:$RPC_PASS" \
--data-binary '{"jsonrpc":"1.0","id":"docs","method":"adaptor.partial","params":["\"<psbt>\""]}' \
-H 'content-type: text/plain;' \
http://127.0.0.1:8332/ Parameters
| Name | Type | Req. | Description |
|---|---|---|---|
| psbt | string | yes | Base64-encoded PSBT |
Result
Type: any
{ (json object) "psbt" : "str", (string) Updated PSBT "complete" : true|false, (boolean) Whether all inputs now have final taproot signatures "hex" : "hex", (string, optional) Final transaction hex (present when complete=true and extraction succeeded) "txid" : "hex" (string, optional) Transaction id (present when hex is returned) }
Source: services/core-node/bcore/src/wallet/rpc/adaptor.cpp:2623
C++ symbol: adaptor_partial