Skip to main content

sweep_addresses

Transfer tokens from deposit addresses to the primary wallet address.

Parameters

  • currency: (string) [required] The currency of tokens to sweep.
  • addresses: (string[]) [required] A list of up to 20 addresses to sweep.

Returns

An execution object.

Example

Request

{
"id": 1,
"jsonrpc": "2.0",
"method": "sweep_addresses",
"params": {
"currency": "erc20-USDT",
"addresses": [
"0xD985b02a8F29976Ff06Dcd8293f66cFDa84B82c0",
"0x2002Ed90F1Cacbb4f2e06253F975BA78b3e45f83",
]
}
}

Response

{
"id": 1,
"jsonrpc": "2.0",
"result": <EXECUTION_OBJECT>,
}