Dash
joinpsbts25 额度
Joins multiple distinct PSBTs into one
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| txs | string[] | Base64-encoded PSBTs to join. Their inputs must be distinct. |
返回值
类型
string
Base64-encoded PSBT combining the inputs and outputs of all given PSBTs.
代码示例
curl https://holy-burned-sky-dash-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "joinpsbts",
"params": [
[
"cHNidP8BAHUCAAAAASaBcTce3/KF6Tet7qSze3gADAVmy7OtZGQXE8pCFxv2AAAAAAD+////…",
"cHNidP8BAHUCAAAAASaBcTce3/KF6Tet7qSze3gADAVmy7OtZGQXE8pCFxv2AAAAAAD+////…"
]
]
}'