Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara melihat daftar node Blockchain Node Engine menggunakan
konsol atau panggilan API.
Menggunakan konsol
Daftar Nodes menampilkan daftar node yang ada di Blockchain Node Engine.
Jika belum ada node yang dibuat, Anda akan diminta untuk membuatnya seperti yang dijelaskan dalam
Membuat node blockchain.
Di Google Cloud konsol, buka halaman Blockchain Node Engine.
Klik di kotak filter. Menu pilihan nama kolom akan
ditampilkan.
Pilih nama kolom. Misalnya, Status. Menu pilihan negara bagian akan ditampilkan.
Pilih negara bagian. Misalnya, Berlari.
Secara opsional, tambahkan operator ATAU, lalu pilih opsi lain untuk
mengubah kueri lebih lanjut. Misalnya, Status: RUNNING OR Location: us-central1.
Secara opsional, ubah kueri:
Klik X pada chip kueri untuk menghapus kueri.
Klik X di kotak Filter untuk menghapus semua kueri.
Mengedit kolom
Untuk menampilkan atau menyembunyikan kolom:
Klik view_columnColumn display options. Menu pilihan kolom yang mungkin akan
ditampilkan.
Pilih item yang akan ditampilkan, atau hapus item yang akan disembunyikan.
Klik Oke.
Urutkan
Untuk menyusun ulang daftar API yang ditampilkan, klik judul kolom.
Panah menunjukkan prioritas pengurutan saat ini.
Panah bawah arrow_downward menunjukkan
urutan menurun.
Panah atas arrow_upward menunjukkan
urutan menaik.
Menggunakan API
Untuk menampilkan daftar semua node Blockchain dengan ListBlockchainNodes, kirim permintaan berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\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 }"]]