Split
Split UTXO
POST
/utxo/split
This endpoint handles the creation of a PSBT that splits a Bitcoin address's UTXOs into smaller ones. It validates the request, constructs the transaction, and returns the result.
Validates
address
,count
,value
,feeRate
, and optionalpublicKey
.Splits UTXOs into the specified number of outputs with equal value.
Returns the unsigned PSBT (base64) ready for signing and broadcasting.
Body
inAddress*
string
Bitcoin address to get the UTXOs from
outAddress (optional)
string
Bitcoin address to send the splits. If not set then UTXOs will be sent to inAddress
splits*
array:
{ value: number, count: number }
Array containing split objects
value*
number
Value of each UTXO split
feeRate*
number
Fee rate in sats/vByte
publicKey
string
Address associated public key, needed for p2sh only
Example:
Response
Last updated