<ApiPlayground endpoint="deposit-addresses-lookup" />

[`/v2/deposit-addresses`](/universal-deposit/api-reference/get-deposit-addresses)
goes one way: a destination in, a deposit address per chain out. This endpoint
goes the other way. Give it deposit addresses and it returns the destination
each one bridges to.

Use it to reconcile transfer history. A sender funds a GUM-generated deposit
address, so their on-chain record shows that address, not the destination the
funds settle to. Batch those addresses through this endpoint to recover the
real destination behind each one — which destination received the deposit, and
on which chain.

## Request body

| Field             | Required | Description                                                                 |
| ----------------- | -------- | --------------------------------------------------------------------------- |
| `depositAddresses` | Yes      | Deposit addresses to resolve, 1–100 per call. Mix chains freely — Solana base58, EVM `0x`, Sui, all in one array. |

```json
{
  "depositAddresses": [
    "5Xz1wdD2S5VmUDTQQy8xfk3RmksvSfpZEjDHMQ72DVA1",
    "0x1c0d68b6d5937359c6291044d9dca230fbdd6d2d"
  ]
}
```

An empty array, or more than 100 addresses, returns `400 INVALID_INPUT_PARAMS`.

## Response

`results[]` holds one entry per address you sent, in the same order:

| Field            | Description                                                              |
| ---------------- | ------------------------------------------------------------------------ |
| `depositAddress` | The address you asked about, echoed back.                                |
| `destination`    | Where this deposit address settles, or `null` if it isn't a GUM deposit address — see below. |

When `destination` is present:

| Field     | Description                                                                       |
| --------- | --------------------------------------------------------------------------------- |
| `chainId` | Destination chain ID: `900` (Solana), `1` (Ethereum), `8453` (Base), `42161` (Arbitrum), `56` (BSC), `4663` (Robinhood), `101` (Sui). |
| `address` | The destination address on that chain — where the funds end up.                   |

```json
{
  "results": [
    {
      "depositAddress": "5Xz1wdD2S5VmUDTQQy8xfk3RmksvSfpZEjDHMQ72DVA1",
      "destination": {
        "chainId": 8453,
        "address": "0xAbc6333EF3CC774A845905De7BAFA18A00d97908"
      }
    },
    {
      "depositAddress": "0x1c0d68b6d5937359c6291044d9dca230fbdd6d2d",
      "destination": {
        "chainId": 8453,
        "address": "0xAbc6333EF3CC774A845905De7BAFA18A00d97908"
      }
    }
  ]
}
```

Several deposit addresses can map to the same destination: every source chain's
deposit address for a destination resolves back to that one destination.

<Warning>
  `destination` is `null` whenever the address isn't a live GUM deposit address
  — a wallet, a contract, a typo, or an address from a different system all come
  back `null` rather than erroring. A `null` means "not ours," not "lookup
  failed," so never treat it as a destination.
</Warning>
