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

# /eth/v1/config/deposit_contract

> Get deposit contract address

```bash title="Mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl -X GET \
    "https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/config/deposit_contract" \
    -H "Content-Type: application/json"
```

```bash title="Testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl -X GET \
    "https://sepolia.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/config/deposit_contract" \
    -H "Content-Type: application/json"
```


## OpenAPI

````yaml nodeapi/openapi/beacon-node-oapi-v4.json GET /eth/v1/config/deposit_contract
openapi: 3.1.0
info:
  title: Eth Beacon Node API
  version: v4.0.0 - Ethereum Proof-of-Stake Consensus Specification v1.5.0
  description: >-
    Subset of the Ethereum Beacon Node API v4.0.0 for routes added after the
    v2.3.0 spec used by the other beacon pages.
servers:
  - url: https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
    description: Mainnet Beacon API
  - url: https://sepolia.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
    description: Sepolia Beacon API
security: []
tags:
  - name: Beacon
    description: Set of endpoints to query beacon chain.
  - name: Config
    description: Endpoints to query chain configuration, specification, and fork schedules.
  - name: Debug
    description: Set of endpoints to debug chain and shouldn't be exposed publicly.
  - name: Node
    description: Endpoints to query node related information.
  - name: Validator
    description: Endpoints intended for validator clients.
  - name: ValidatorRequiredApi
    description: >
      Minimal set of endpoints to enable a working validator implementation.


      [Checkout validator flow](./validator-flow.md) to learn how to use this
      api.
  - name: Rewards
    description: Endpoints to query rewards and penalties for validators.
paths:
  /eth/v1/config/deposit_contract:
    get:
      tags:
        - Config
      summary: Get deposit contract address.
      description: Retrieve Eth1 deposit contract address and chain ID.
      operationId: getDepositContract
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                title: GetDepositContractResponse
                type: object
                required:
                  - data
                properties:
                  data:
                    type: object
                    required:
                      - chain_id
                      - address
                    properties:
                      chain_id:
                        type: string
                        example: '1'
                        description: Id of Eth1 chain on which contract is deployed.
                      address:
                        description: Hex encoded deposit contract address with 0x prefix
                        example: '0x00000000219ab540356cBB839Cbe05303d7705Fa'
                        type: string
                        format: hex
                        pattern: ^0x[a-fA-F0-9]{40}$
        '500':
          description: Beacon node internal error.
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                properties:
                  code:
                    description: >-
                      Either specific error code in case of invalid request or
                      http status code
                    type: number
                    example: 404
                  message:
                    description: Message describing error
                    type: string
                  stacktraces:
                    description: Optional stacktraces, sent when node is in debug mode
                    type: array
                    items:
                      type: string
              example:
                code: 500
                message: Internal server error

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.