Assets Buying
Workflow for assets buying.
Prepare buying
post
Prepare buy
Path parameters
marketanyRequired
"token"|"collection|"realm"
Body
bidIdsstring[]Required
buyerstringRequired
gasRateany ofRequired
string · numericOptionalDefault:
0numberOptional
isExpressBuybooleanOptional
receiverstringOptional
Responses
200Success
post
/market/v1/{market}/bulk-buy200Success
Client sign
psbtfrom last step's response
const signedPsbt = await unisat.signPsbt(psbt, {
autoFinalized: false
})Confirm buying
psbtin the post body is last step'ssignedPsbt
post
Confirm listing
Body
psbtstringRequired
Signed psbt
bidIdsstring[]Required
Responses
200Success
post
/market/v1/bid/bulk-confirm200Success
Last updated