For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

wallet_id

string

The end user's wallet id

final_psbt

[]byte

Signed and extracted transaction to be broadcasted

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