# Collection

If a user sets multiple sub-addresses in their project and each address has assets, users with collection permissions can collect all sub-address assets to the specified wallet address, which is convenient for user management and use. The successfully collected funds and gas fees can be queried in the transaction records of the wallet.

## **Manual Collection**

1. Enter the API module and click "Sub-Address" - "Collect".

<figure><img src="https://3263384427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3NzJ0yGNKhTsgI2zNjK%2Fuploads%2FGsdbjlqyLwk9m0iz9GnM%2Fimage.png?alt=media&#x26;token=628161b4-04a4-44fc-b7bb-bd279b359ca7" alt=""><figcaption></figcaption></figure>

2. Configure the collection conditions, including the receiver address and interval amount, confirm the number of addresses that meet the conditions, and click "Next".

<figure><img src="https://3263384427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3NzJ0yGNKhTsgI2zNjK%2Fuploads%2FD6GgmSUPEyTcUQ8OuQ4r%2Fimage.png?alt=media&#x26;token=2ecbddea-d438-4b7d-b886-c4af3ad21354" alt=""><figcaption></figcaption></figure>

3. Enter the transaction password for verification.
4. After successful verification, Cregis initiates the collection of addresses that meet the conditions and displays the collection progress. If you need to stop the collection, you can click "Stop Collection".

## **API Collection**

Users can refer to the [developer documentation ](https://developer.cregis.com/api-reference/request)for API information on initiating collection via API. To view API collections, go to the following entry point.

<figure><img src="https://3263384427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3NzJ0yGNKhTsgI2zNjK%2Fuploads%2FNWXm5G80V2U9bd6vx6vp%2Fimage.png?alt=media&#x26;token=37a8184b-bf23-48ed-a185-ed1cbd59c620" alt=""><figcaption></figcaption></figure>
