- Resource: BlockchainNode
- EthereumDetails
- GethDetails
- GarbageCollectionMode
- Network
- NodeType
- ExecutionClient
- ConsensusClient
- EthereumEndpoints
- ValidatorConfig
- BlockchainType
- ConnectionInfo
- EndpointInfo
- State
- Methods
Resource: BlockchainNode
A representation of a blockchain node.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "connectionInfo": { object ( |
Fields | |
---|---|
name |
Output only. The fully qualified name of the blockchain node. e.g. |
createTime |
Output only. The timestamp at which the blockchain node was first created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The timestamp at which the blockchain node was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
User-provided key-value pairs. An object containing a list of |
connectionInfo |
Output only. The connection information used to interact with a blockchain node. |
state |
Output only. A status representing the state of the node. |
privateServiceConnectEnabled |
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. See https://cloud.google.com/vpc/docs/private-service-connect. |
Union field blockchain_type_details . Information that is specific to a particular blockchain type. blockchain_type_details can be only one of the following: |
|
ethereumDetails |
Ethereum-specific blockchain node details. |
blockchainType |
Immutable. The blockchain type of the node. |
EthereumDetails
Ethereum-specific blockchain node details.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field execution_client_details . Options for the execution client. execution_client_details can be only one of the following: |
|
gethDetails |
Details for the Geth execution client. |
network |
Immutable. The Ethereum environment being accessed. |
nodeType |
Immutable. The type of Ethereum node. |
executionClient |
Immutable. The execution client |
consensusClient |
Immutable. The consensus client. |
apiEnableAdmin |
Immutable. Enables JSON-RPC access to functions in the |
apiEnableDebug |
Immutable. Enables JSON-RPC access to functions in the |
additionalEndpoints |
Output only. Ethereum-specific endpoint information. |
validatorConfig |
Configuration for validator-related parameters on the beacon client, and for any managed validator client. |
GethDetails
Options for the Geth execution client.
See Command-line Options for more details.
JSON representation |
---|
{
"garbageCollectionMode": enum ( |
Fields | |
---|---|
garbageCollectionMode |
Immutable. Blockchain garbage collection mode. |
GarbageCollectionMode
Blockchain garbage collection modes. Only applicable when NodeType
is FULL
or ARCHIVE
.
Enums | |
---|---|
GARBAGE_COLLECTION_MODE_UNSPECIFIED |
The garbage collection has not been specified. |
FULL |
Configures Geth's garbage collection so that older data not needed for a full node is deleted. This is the default mode when creating a full node. |
ARCHIVE |
Configures Geth's garbage collection so that old data is never deleted. This is the default mode when creating an archive node. This value can also be chosen when creating a full node in order to create a partial/recent archive node. See Sync modes for more details. |
Network
The Ethereum environment being accessed.
See Networks for more details.
Enums | |
---|---|
NETWORK_UNSPECIFIED |
The network has not been specified, but should be. |
MAINNET |
The Ethereum Mainnet. |
TESTNET_GOERLI_PRATER |
The Ethereum Testnet based on Goerli protocol. |
TESTNET_SEPOLIA |
The Ethereum Testnet based on Sepolia/Bepolia protocol. See https://github.com/eth-clients/sepolia. |
TESTNET_HOLESKY |
The Ethereum Testnet based on Holesky specification. See https://github.com/eth-clients/holesky. |
NodeType
The type of Ethereum node.
See Node Types for more details.
Enums | |
---|---|
NODE_TYPE_UNSPECIFIED |
Node type has not been specified, but should be. |
LIGHT |
An Ethereum node that only downloads Ethereum block headers. |
FULL |
Keeps a complete copy of the blockchain data, and contributes to the network by receiving, validating, and forwarding transactions. |
ARCHIVE |
Holds the same data as full node as well as all of the blockchain's history state data dating back to the Genesis Block. |
ExecutionClient
The execution client (i.e., Execution Engine or EL client) listens to new transactions broadcast in the network, executes them in EVM, and holds the latest state and database of all current Ethereum data.
See What are nodes and clients? for more details.
Enums | |
---|---|
EXECUTION_CLIENT_UNSPECIFIED |
Execution client has not been specified, but should be. |
GETH |
Official Go implementation of the Ethereum protocol. See go-ethereum for details. |
ERIGON |
An implementation of Ethereum (execution client), on the efficiency frontier, written in Go. See Erigon on GitHub for details. |
ConsensusClient
The consensus client (also referred to as beacon node or CL client) implements the proof-of-stake consensus algorithm, which enables the network to achieve agreement based on validated data from the execution client.
See What are nodes and clients? for more details.
Enums | |
---|---|
CONSENSUS_CLIENT_UNSPECIFIED |
Consensus client has not been specified, but should be. |
LIGHTHOUSE |
Consensus client implementation written in Rust, maintained by Sigma Prime. See Lighthouse - Sigma Prime for details. |
ERIGON_EMBEDDED_CONSENSUS_LAYER |
Erigon's embedded consensus client embedded in the execution client. Note this option is not currently available when creating new blockchain nodes. See Erigon on GitHub for details. |
EthereumEndpoints
Contains endpoint information specific to Ethereum nodes.
JSON representation |
---|
{ "beaconApiEndpoint": string, "beaconPrometheusMetricsApiEndpoint": string, "executionClientPrometheusMetricsApiEndpoint": string } |
Fields | |
---|---|
beaconApiEndpoint |
Output only. The assigned URL for the node's Beacon API endpoint. |
beaconPrometheusMetricsApiEndpoint |
Output only. The assigned URL for the node's Beacon Prometheus metrics endpoint. See Prometheus Metrics for more details. |
executionClientPrometheusMetricsApiEndpoint |
Output only. The assigned URL for the node's execution client's Prometheus metrics endpoint. |
ValidatorConfig
Configuration for validator-related parameters on the beacon client, and for any managed validator client.
JSON representation |
---|
{ "mevRelayUrls": [ string ] } |
Fields | |
---|---|
mevRelayUrls[] |
URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client. |
BlockchainType
The blockchain type of the node.
Enums | |
---|---|
BLOCKCHAIN_TYPE_UNSPECIFIED |
Blockchain type has not been specified, but should be. |
ETHEREUM |
The blockchain type is Ethereum. |
ConnectionInfo
The connection information through which to interact with a blockchain node.
JSON representation |
---|
{
"endpointInfo": {
object ( |
Fields | |
---|---|
endpointInfo |
Output only. The endpoint information through which to interact with a blockchain node. |
serviceAttachment |
Output only. A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name} |
EndpointInfo
Contains endpoint information through which to interact with a blockchain node.
JSON representation |
---|
{ "jsonRpcApiEndpoint": string, "websocketsApiEndpoint": string } |
Fields | |
---|---|
jsonRpcApiEndpoint |
Output only. The assigned URL for the node JSON-RPC API endpoint. |
websocketsApiEndpoint |
Output only. The assigned URL for the node WebSockets API endpoint. |
State
All possible states for a given blockchain node.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state has not been specified. |
CREATING |
The node has been requested and is in the process of being created. |
DELETING |
The existing node is undergoing deletion, but is not yet finished. |
RUNNING |
The node is running and ready for use. |
ERROR |
The node is in an unexpected or errored state. |
UPDATING |
The node is currently being updated. |
REPAIRING |
The node is currently being repaired. |
RECONCILING |
The node is currently being reconciled. |
Methods |
|
---|---|
|
Creates a new blockchain node in a given project and location. |
|
Deletes a single blockchain node. |
|
Gets details of a single blockchain node. |
|
Lists blockchain nodes in a given project and location. |
|
Updates the parameters of a single blockchain node. |