PublishTransferBtc

Second step to transfer BTC to an address. This will accept the user's signed psbt to broadcast in BTC network.

POST /api/publish-transfer-btc

Headers

Body

As request data, signed psbt MUST be finalized and extracted by wallet.

Request

{
    "wallet_id":"23a06ee3-050a-46f7-9eec-68d95471dd6c",
    "final_psbt": "AgAAAAABAZGPYjWItkw0iOLPoanYSbYw+ibmnOqbnaix+sNsbImqAQAAAAD/////AgAtMQEAAAAAFgAUK2uwcXCF0j52o+XLVed9PD3MD57gJiEKAAAAABYAFAtC6UPwxusmdFdvhnMxvQmlkLS9AkcwRAIgB++Pg8ATl+HjelizYtkuPRkYXg35b+24cMgZJe1H0cACIB3FgLysXyn7pp2tkMU42BeOOIz0NSr/beHbtL6YqhJCASEDKIHnM5Vx7o3jSwDbzBD0I9cN1dbMUcfW7PMyVTEdBOAAAAAA"
}

Response

{
    "code": 0,
    "data": "ok",
    "message": "",
    "traceid": "7fe4b27a-f38d-4972-8158-1b30038ff440"
}

Last updated