Creates a sweep operation record for manual execution. The actual blockchain transaction is executed externally. If autoTopup is true and wallet has insufficient gas, a gas topup operation is created first.
Request body
application/json
· CreateSweepOperationRequest
· required
| Field | Type | Required | Description |
|---|---|---|---|
amount |
string |
yes | |
autoTopup |
boolean |
no | If true, automatically create a gas topup operation if wallet has insufficient gas. |
chain |
BlockchainChain |
yes | |
treasuryAddress |
string |
no | Override default treasury address. |
walletId |
string |
yes |
Responses
| Status | Body | Description |
|---|---|---|
200 |
CreateSweepOperationResponse |
Sweep operation created. |
Specification
This page is generated from the OpenAPI specification, which remains the authoritative machine-readable source.