> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bloodydash.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Collect Wallet Balance

> Collects balance from multiple wallets to one wallet.



## OpenAPI

````yaml /api/swagger.json post /wallets/collect
openapi: 3.0.1
info:
  title: BLOOD-V3 API
  contact: {}
  version: 0.0.1
servers:
  - url: //localhost:50000/api/v1
security: []
paths:
  /wallets/collect:
    post:
      tags:
        - Wallet
      summary: Collect Wallet Balance
      description: Collects balance from multiple wallets to one wallet.
      requestBody:
        description: Collect Balance Request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handlers.collectBalanceRequest'
        required: true
      responses:
        '200':
          description: OK
          content: {}
        '400':
          description: Bad request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '500':
          description: Internal server error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
components:
  schemas:
    handlers.collectBalanceRequest:
      type: object
      properties:
        amount:
          type: string
        from_wallet_ids:
          type: array
          items:
            type: string
        to_wallet_id:
          type: string
        token:
          type: string
    handlers.ErrorResponse:
      type: object
      properties:
        error:
          type: string

````