⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST joinpsbts

dropdown

方法 RPC joinpsbts 例如 DigiByte (DGB)

POST joinpsbts

将多个不同的PSBT与不同的输入和输出一起加入一个PSBT,并带有来自所有PSBT的输入和输出

在任何PSBT中均未输入任何一个以上的PSBT。

Parameters

txs - json阵列,必需

部分签名的交易的基本64字符串

Request

curl --location --request POST 'https://dgb.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "joinpsbts",
"params": [["mybase64_1", "mybase64_2", "mybase64_3"]],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": null
}