Skip to content
Docs

Get RPC Node Dedicated Details

client.RPCNodes.Dedicated.Get(ctx, nodeID) (*Dedicated, error)
GET/v1/rpc_nodes/dedicated/{node_id}

Get details about an RPC Node Dedicated

ParametersExpand Collapse
nodeID string
ReturnsExpand Collapse
type Dedicated struct{…}

RPC Node Dedicated details.

ID string

Unique identifier for the RPC Node Dedicated.

Blockchain string

Blockchain type.

CreatedAt Time

When the RPC Node Dedicated was created.

formatdate-time
Endpoint string

RPC endpoint URL.

Name string

Name of the RPC Node Dedicated.

Network string

Network type (e.g., mainnet, testnet).

ProjectID string

Project identifier associated with the RPC Node Dedicated.

Tags []string

Tags to attach to the RPC Node Dedicated.

UpdatedAt Time

When the RPC Node Dedicated was updated.

formatdate-time

Get RPC Node Dedicated Details

package main

import (
  "context"
  "fmt"

  "github.com/nirvana-labs/nirvana-go"
  "github.com/nirvana-labs/nirvana-go/option"
)

func main() {
  client := nirvana.NewClient(
    option.WithAPIKey("My API Key"),
  )
  dedicated, err := client.RPCNodes.Dedicated.Get(context.TODO(), "node_id")
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", dedicated.ID)
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "blockchain": "ethereum",
  "created_at": "2025-01-01T00:00:00Z",
  "endpoint": "https://ethereum-mainnet.nirvanalabs.xyz/?apikey=apiKey",
  "name": "my-ethereum-node",
  "network": "mainnet",
  "project_id": "123e4567-e89b-12d3-a456-426614174000",
  "tags": [
    "production",
    "ethereum"
  ],
  "updated_at": "2025-01-01T00:00:00Z"
}
Returns Examples
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "blockchain": "ethereum",
  "created_at": "2025-01-01T00:00:00Z",
  "endpoint": "https://ethereum-mainnet.nirvanalabs.xyz/?apikey=apiKey",
  "name": "my-ethereum-node",
  "network": "mainnet",
  "project_id": "123e4567-e89b-12d3-a456-426614174000",
  "tags": [
    "production",
    "ethereum"
  ],
  "updated_at": "2025-01-01T00:00:00Z"
}