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

# Deposit Address Reindex

> Reindex transactions for a deposit address

[What are deposit addresses?](/features/deposit-addresses)


## OpenAPI

````yaml post /transactions/deposit-address/reindex
openapi: 3.0.3
info:
  title: Cross-chain solver
  version: 1.0.0
servers:
  - url: https://api.relay.link
    description: Mainnet API
  - url: https://api.testnets.relay.link
    description: Testnet API
security: []
paths:
  /transactions/deposit-address/reindex:
    post:
      description: >-
        Re-checks the balances of a previously-registered deposit address and
        queues a withdrawal for any currency with a non-zero balance. Useful
        when funds were sent to a deposit address but the normal indexer flow
        did not pick them up.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                chainId:
                  type: number
                  description: Chain ID the deposit address was originally registered on.
                depositAddress:
                  type: string
                  description: The deposit address to reindex.
                sweep:
                  type: boolean
                  description: Deprecated. No longer supported on this endpoint.
                targetChainId:
                  type: number
                  description: >-
                    Chain ID to reindex on, when different from `chainId`. Use
                    this if funds landed on a chain other than the one the
                    deposit address was registered on. Defaults to `chainId`.
                currency:
                  type: string
                  description: >-
                    Address of a specific currency to reindex. Defaults to
                    checking every depositable currency on the chain.
              required:
                - chainId
                - depositAddress
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Human-readable summary of the reindex outcome.
                  triggeredCurrencies:
                    type: array
                    description: Currencies for which a withdrawal was queued.
                    items:
                      type: object
                      properties:
                        currency:
                          type: string
                          description: Currency address.
                        symbol:
                          type: string
                          description: Currency symbol.
                        balance:
                          type: string
                          description: >-
                            Balance found at the deposit address, in the
                            currency's smallest unit.
                  checkedCurrencies:
                    type: number
                    description: Total number of currencies whose balance was checked.
                  failedCurrencies:
                    type: number
                    description: Number of currencies whose balance check failed.
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Reason the request was rejected.
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: >-
                      The caller is not permitted to reindex this deposit
                      address.
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: >-
                      No deposit address was found for the given `chainId` and
                      `depositAddress`.
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: The deposit address was reindexed too recently.
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Transient failure.

````