Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Esta página descreve como conferir uma lista de nós do Blockchain Node Engine usando o
console ou uma chamada de API.
Como usar o console
A lista Nodes mostra os nós que existem no Blockchain Node Engine.
Se nenhum nó tiver sido criado, você vai receber uma solicitação para criar um, conforme descrito em
Criar um nó de blockchain.
No Google Cloud console, acesse a página Blockchain Node Engine.
Clique na caixa de filtro. Um menu de seleção dos nomes das colunas é
exibido.
Selecione o nome de uma coluna. Por exemplo, Status. Um menu de seleção dos
estados é exibido.
Selecione um estado. Por exemplo, Corrida.
Se quiser, adicione um operador OR e selecione outras opções para
modificar ainda mais a consulta. Por exemplo, Status: RUNNING OR Location: us-central1.
Opcionalmente, modifique a consulta:
Clique no X no ícone de consulta para removê-la.
Clique no X na caixa Filtro para limpar todas as consultas.
Editar colunas
Para mostrar ou ocultar colunas:
Clique em view_columnOpções de exibição de coluna. Um menu de seleção de colunas possíveis é
exibido.
Selecione os itens que você quer mostrar ou limpe os itens que você quer ocultar.
Clique em OK.
Ordenar
Para reordenar a lista de APIs exibida, clique no cabeçalho de uma coluna.
A seta indica a prioridade de classificação atual.
Uma seta para baixo arrow_downward indica
ordem decrescente.
Uma seta para cima arrow_upward indica
ordem crescente.
Como usar uma API
Para listar todos os nós da Blockchain com
ListBlockchainNodes,
envie a seguinte solicitação:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-01 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 }"]]