curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/sweep/assets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"transactionId": "TRANSACTION_ID"
}'
{
"message": "Sweep initiated successfully",
"statusCode": 200
}
This endpoint is used to manually trigger assets sweep for all unswept assets for a specific wallet
curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/sweep/assets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"transactionId": "TRANSACTION_ID"
}'
{
"message": "Sweep initiated successfully",
"statusCode": 200
}
"YOUR_WALLET_ID"
200
The response is of type object
.