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 deposit addresses to sweep. Up to 5 when sweeping SOL. Up to 20 when sweeping SPL tokens.
Returns
An execution object
.
Example
Request
{
"id": 1,
"jsonrpc": "2.0",
"method": "sweep_addresses",
"params": {
"currency": "SOL",
"addresses": [
"HLf6aFrXWVuiD2bT7m5EwzCT965NTjHawUi4ze9BWY3p",
"6t26eNQYeQ5cgKQkFoMd8WnGDXfL379L2DnAvjGU42j9",
]
}
}
Response
{
"id": 1,
"jsonrpc": "2.0",
"result": <EXECUTION_OBJECT>,
}