IBExWalletAPI
Blockchain OperationsBitcoin

Prepare a simple Bitcoin send (no signing)

Select UTXOs, estimate fee, compute change. Returns a structure the client can turn into a PSBT.

POST
/v1.2/safes/bitcoin/send/prepare

Authorization

AuthorizationRequiredBearer <token>

In: header

Request Body

application/jsonRequired
fromRequiredstring
toRequiredstring
amountSatnumber
sendAllboolean
feeProfilestring
Default: "standard"Value in: "slow" | "standard" | "fast"
networkstring
Value in: "mainnet" | "testnet"
externalFeeSponsorboolean

If true, do not require sender UTXOs to cover fees (collaborative PSBT). Sender covers only amount.

curl -X POST "https://passkeys-testnet.ibex.fi/v1.2/safes/bitcoin/send/prepare" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "string",
    "to": "string",
    "amountSat": 0,
    "sendAll": true,
    "feeProfile": "slow",
    "network": "mainnet",
    "externalFeeSponsor": true
  }'

Default Response