This operation creates a new sweep-to address for the specified wallet. The previously sweep-to address for the same token becomes invalid once the new one is created.
Use this operation to change the sweep-to address when your setup changes, you switch networks, or the current address is compromised or tainted by suspicious funds. You can withdraw any remaining balances from the old sweep-to addresses to the new address or another designated destination.
The API key. For more details, refer to API key.
In the API playground, enter your API secret, and your API key will be accordingly calculated.
The request body to generates a new sweep-to address within a specified wallet.
Information of the new sweep-to address to be created.
The wallet ID.
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling List enabled chains.
"ETH"
Successfully create sweep to addresses
Information about the sweep-to address.
The wallet address.
"0x0000000000000000000000000000000000000000"
The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling List enabled chains.
"ETH"
The status of the sweep-to address:
Valid: The sweep-to address is active and used for auto token sweeping.Invalid: The sweep-to address is no longer used for auto token sweeping.Valid, Invalid "Valid"