List RPC Node Dedicated
client.RPCNodes.Dedicated.List(ctx, query) (*Cursor[Dedicated], error)
GET/v1/rpc_nodes/dedicated
List RPC Node Dedicated
package main
import (
"context"
"fmt"
"github.com/nirvana-labs/nirvana-go"
"github.com/nirvana-labs/nirvana-go/option"
"github.com/nirvana-labs/nirvana-go/rpc_nodes"
)
func main() {
client := nirvana.NewClient(
option.WithAPIKey("My API Key"),
)
page, err := client.RPCNodes.Dedicated.List(context.TODO(), rpc_nodes.DedicatedListParams{
ProjectID: "project_id",
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
}
{
"items": [
{
"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"
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}Returns Examples
{
"items": [
{
"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"
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}