[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\u003cp\u003eThis page outlines the process of viewing a list of Blockchain Node Engine nodes using either the Google Cloud console or through an API call.\u003c/p\u003e\n"],["\u003cp\u003eThe console method displays a "Nodes" list, which shows information such as node name, status, chain, node type, location, and JSON-RPC and WebSocket endpoints.\u003c/p\u003e\n"],["\u003cp\u003eIn the console, the list of nodes can be refined using filter options, customized columns, and sorting capabilities.\u003c/p\u003e\n"],["\u003cp\u003eUsing an API call with \u003ccode\u003eListBlockchainNodes\u003c/code\u003e allows users to retrieve a list of nodes by sending a request to a specific endpoint with their project ID and location.\u003c/p\u003e\n"],["\u003cp\u003eThe API call response provides detailed information about each node, including its name, creation time, blockchain type, connection info, and current state.\u003c/p\u003e\n"]]],[],null,["# List blockchain nodes\n\nThis page describes how to view a list of Blockchain Node Engine nodes using the\n[console](#using-the-console) or an [API](#using-an-api) call.\n\nUsing the console\n-----------------\n\nThe **Nodes** list displays a list of nodes that exist in Blockchain Node Engine.\nIf no nodes have been created, you are prompted to create one as described in\n[Create a blockchain node](/blockchain-node-engine/docs/create-node).\n\nIn the Google Cloud console, go to the **Blockchain Node Engine** page.\n\n\n[Go to Blockchain Node Engine](https://console.cloud.google.com/blockchain-node-engine)\n\n\u003cbr /\u003e\n\nThe **Nodes** list page is displayed by default.\n\n[](/static/blockchain-node-engine/images/nodes-list.png)\n\nHere's what you can do on this page:\n\n### Filter\n\nTo refine the list of nodes displayed:\n\n1. Create a filter query:\n\n 1. Click in the filter box. A selection menu of the column names is displayed.\n 2. Select a column name. For example, **Status**. A selection menu of the states is displayed.\n 3. Select a state. For example, **Running**.\n 4. Optionally, add an OR operator and then select other options to further modify your query. For example, `Status: RUNNING OR Location: us-central1`.\n2. Optionally, modify the query:\n\n - Click the X on the query chip to remove the query.\n - Click the X on the **Filter** box to clear all queries.\n\n### Edit columns\n\nTo show or hide columns:\n\n1. Click view_column **Column display options**. A selection menu of possible columns is displayed.\n2. Select items to display, or clear items to hide.\n3. Click **OK**.\n\n### Sort\n\nTo reorder the list of APIs displayed, click a column heading.\n\nThe arrow indicates the current sort priority.\nA arrow_downward down arrow indicates\ndescending order.\nAn arrow_upward up arrow indicates\nascending order.\n\nUsing an API\n------------\n\nTo list all Blockchain nodes with\n[ListBlockchainNodes](/blockchain-node-engine/docs/reference/rest/v1/projects.locations.blockchainNodes/list),\nsend the following request: \n\n curl \\\n -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n -H \"Content-Type: application/json\" \\\n https://blockchainnodeengine.googleapis.com/v1/projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/\\\n locations/\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e/blockchainNodes\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is your Google Cloud project ID. For example, `my-project-id`.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e is the [location](/blockchain-node-engine/docs/terms#location) you selected in [Create a node](/blockchain-node-engine/docs/create-node). For example, `us-central1`.\n\nHere is a sample response to this command: \n\n {\n \"blockchainNodes\": [\n {\n \"name\": \"projects/my-project-id/locations/us-central1/blockchainNodes/my-new-node-2\",\n \"createTime\": \"2023-05-05T21:19:33.308756Z\",\n \"updateTime\": \"2023-05-05T21:58:44.513286Z\",\n \"labels\": {\n \"my-label-key\": \"my-label-value\"\n },\n \"blockchainType\": \"ETHEREUM\",\n \"connectionInfo\": {\n \"ipInfo\": {\n \"rpcIpv4Address\": \"203.0.113.1\"\n },\n \"endpointInfo\": {\n \"jsonRpcApiEndpoint\": \"json-rpc.4amkczs2vkh8hjtghcipu7y2t.blockchainnodeengine.com\",\n \"websocketsApiEndpoint\": \"ws.4amkczs2vkh8hjtghcipu7y2t.blockchainnodeengine.com\"\n }\n },\n \"ethereumDetails\": {\n \"network\": \"MAINNET\",\n \"nodeType\": \"FULL\",\n \"executionClient\": \"GETH\",\n \"consensusClient\": \"LIGHTHOUSE\",\n \"apiEnableAdmin\": false,\n \"apiEnableDebug\": false,\n \"additionalEndpoints\": {\n \"beaconApiEndpoint\": \"beacon.4amkczs2vkh8hjtghcipu7y2t.blockchainnodeengine.com\",\n \"beaconPrometheusMetricsApiEndpoint\": \"bc-mc.4amkczs2vkh8hjtghcipu7y2t.blockchainnodeengine.com\"\n }\n },\n \"state\": \"RUNNING\"\n },\n {\n \"name\": \"projects/my-project-id/locations/us-central1/blockchainNodes/my-new-node\",\n \"createTime\": \"2023-05-05T21:03:14.002367Z\",\n \"updateTime\": \"2023-05-05T21:42:28.131570Z\",\n \"blockchainType\": \"ETHEREUM\",\n \"connectionInfo\": {\n \"ipInfo\": {\n \"rpcIpv4Address\": \"203.0.113.2\"\n },\n \"endpointInfo\": {\n \"jsonRpcApiEndpoint\": \"json-rpc.8t4jplvidg0v6nsjgqfwok6it.blockchainnodeengine.com\",\n \"websocketsApiEndpoint\": \"ws.8t4jplvidg0v6nsjgqfwok6it.blockchainnodeengine.com\"\n }\n },\n \"ethereumDetails\": {\n \"network\": \"MAINNET\",\n \"nodeType\": \"FULL\",\n \"executionClient\": \"GETH\",\n \"consensusClient\": \"LIGHTHOUSE\",\n \"apiEnableAdmin\": true,\n \"apiEnableDebug\": true,\n \"additionalEndpoints\": {\n \"beaconApiEndpoint\": \"beacon.8t4jplvidg0v6nsjgqfwok6it.blockchainnodeengine.com\",\n \"beaconPrometheusMetricsApiEndpoint\": \"bc-mc.8t4jplvidg0v6nsjgqfwok6it.blockchainnodeengine.com\"\n }\n },\n \"state\": \"RUNNING\"\n }\n ]\n }"]]