TransferBtc
First step to transfer BTC to an address. Psbt will be returned in response for user's sign.
POST
/api/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
recv_addr
string
BTC address to send to.
amount
int64
Amount to send in sats
min_conf
int32
Minimized confirmations to be as a legal UTXO
fee_rate
int64
Fee rate in sat/vB
Request
Response
Last updated