Request
string
required
Your Finrock API key.
string
required
Your JWT bearer token in the format
Bearer {JWT}.string
required
The asset to sweep. Use the
asset_name value from the Supported Assets list (e.g. ETH, USDT_ETH).string
required
The non-omnibus deposit address whose full balance you want to sweep into the omnibus wallet.
Example Request
cURL
Response
A successful request returns HTTP200 confirming that the sweep transaction has been queued.
string
Indicates the sweep request status. Typical value:
queued.string
The Finrock transaction ID for the resulting on-chain sweep transaction. Use this with the List Transactions endpoint to monitor the sweep status.
Sample 200 Response
object
Returned when the
x-api-key or Authorization header is missing or invalid.Sample 401 Response