---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes

`GET /v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes`

## Request

- Base URL: `https://blockchainnodeengine.googleapis.com`
- URL: `https://blockchainnodeengine.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists blockchain nodes in a given project and location.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListBlockchainNodesResponse: Message for response to listing blockchain nodes.
  - `blockchainNodes` BlockchainNode[]: The list of nodes
    - `blockchainType` 'BLOCKCHAIN_TYPE_UNSPECIFIED' | 'ETHEREUM': Immutable. The blockchain type of the node.
    - `connectionInfo` ConnectionInfo: The connection information through which to interact with a blockchain node.
      - `endpointInfo` EndpointInfo: Contains endpoint information through which to interact with a blockchain node.
        - `jsonRpcApiEndpoint` string: Output only. The assigned URL for the node JSON-RPC API endpoint.
        - `websocketsApiEndpoint` string: Output only. The assigned URL for the node WebSockets API endpoint.
      - `serviceAttachment` string: Output only. A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
    - `createTime` string, google-datetime: Output only. The timestamp at which the blockchain node was first created.
    - `ethereumDetails` EthereumDetails: Ethereum-specific blockchain node details.
      - `additionalEndpoints` EthereumEndpoints: Contains endpoint information specific to Ethereum nodes.
        - `beaconApiEndpoint` string: Output only. The assigned URL for the node's Beacon API endpoint.
        - `beaconPrometheusMetricsApiEndpoint` string: Output only. The assigned URL for the node's Beacon Prometheus metrics endpoint. See [Prometheus Metrics](https://lighthouse-book.sigmaprime.io/advanced_metrics.html) for more details.
        - `executionClientPrometheusMetricsApiEndpoint` string: Output only. The assigned URL for the node's execution client's Prometheus metrics endpoint.
      - `apiEnableAdmin` boolean: Immutable. Enables JSON-RPC access to functions in the `admin` namespace. Defaults to `false`.
      - `apiEnableDebug` boolean: Immutable. Enables JSON-RPC access to functions in the `debug` namespace. Defaults to `false`.
      - `consensusClient` 'CONSENSUS_CLIENT_UNSPECIFIED' | 'LIGHTHOUSE' | 'ERIGON_EMBEDDED_CONSENSUS_LAYER': Immutable. The consensus client.
      - `executionClient` 'EXECUTION_CLIENT_UNSPECIFIED' | 'GETH' | 'ERIGON': Immutable. The execution client
      - `gethDetails` GethDetails: Options for the Geth execution client. See [Command-line Options](https://geth.ethereum.org/docs/fundamentals/command-line-options) for more details.
        - `garbageCollectionMode` 'GARBAGE_COLLECTION_MODE_UNSPECIFIED' | 'FULL' | 'ARCHIVE': Immutable. Blockchain garbage collection mode.
      - `network` 'NETWORK_UNSPECIFIED' | 'MAINNET' | 'TESTNET_GOERLI_PRATER' | 'TESTNET_SEPOLIA' | 'TESTNET_HOLESKY': Immutable. The Ethereum environment being accessed.
      - `nodeType` 'NODE_TYPE_UNSPECIFIED' | 'LIGHT' | 'FULL' | 'ARCHIVE': Immutable. The type of Ethereum node.
      - `validatorConfig` ValidatorConfig: Configuration for validator-related parameters on the beacon client, and for any GCP-managed validator client.
        - `beaconFeeRecipient` string: An Ethereum address which the beacon client will send fee rewards to if no recipient is configured in the validator client. See https://lighthouse-book.sigmaprime.io/suggested-fee-recipient.html or https://docs.prylabs.network/docs/execution-node/fee-recipient for examples of how this is used. Note that while this is often described as "suggested", as we run the execution node we can trust the execution node, and therefore this is considered enforced.
        - `managedValidatorClient` boolean: Immutable. When true, deploys a GCP-managed validator client alongside the beacon client.
        - `mevRelayUrls` string[]: URLs for MEV-relay services to use for block building. When set, a GCP-managed MEV-boost service is configured on the beacon client.
    - `labels` object: User-provided key-value pairs.
    - `name` string: Output only. The fully qualified name of the blockchain node. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-node`.
    - `privateServiceConnectEnabled` boolean: Optional. When true, the node is only accessible via Private Service Connect; no public endpoints are exposed. Otherwise, the node is only accessible via public endpoints. Warning: These nodes are deprecated, please use public endpoints instead.
    - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'DELETING' | 'RUNNING' | 'ERROR' | 'UPDATING' | 'REPAIRING' | 'RECONCILING' | 'SYNCING': Output only. A status representing the state of the node.
    - `updateTime` string, google-datetime: Output only. The timestamp at which the blockchain node was last updated.
  - `nextPageToken` string: A token identifying a page of results the server should return.
  - `unreachable` string[]: Locations that could not be reached.

---

[API](https://skmtc.dev/google/apis/blockchainnodeengine.md) - [All operations](https://skmtc.dev/google/apis/blockchainnodeengine/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/blockchainnodeengine/revisions/4b0883d76bba?raw)
