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": "TRX",
"addresses": [
"TDZPdhRZNWwApaQTaLCj913388AWqvZMar",
"TPhoouHMJX7iRprjeRktsPXBTixGRGeeMf",
]
}
}

Response

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