Skip to content
Docs

    Create RPC Node Flex

    POST/v1/rpc_nodes/flex

    Create a new RPC Node Flex

    Body ParametersJSONExpand Collapse
    blockchain: string

    Blockchain.

    name: string

    Name of the RPC Node Flex.

    network: string

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

    project_id: string

    Project ID to associate with the RPC Node Flex.

    tags: optional array of string

    Tags to attach to the RPC Node Flex (optional, max 50).

    ReturnsExpand Collapse
    Flex object { id, blockchain, created_at, 6 more }

    RPC Node Flex details.

    id: string

    Unique identifier for the RPC Node Flex.

    blockchain: string

    Blockchain type.

    created_at: string

    When the RPC Node Flex was created.

    formatdate-time
    endpoint: string

    RPC endpoint URL.

    name: string

    Name of the RPC Node Flex.

    network: string

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

    project_id: string

    Project identifier associated with the RPC Node Flex.

    tags: array of string

    Tags to attach to the RPC Node Flex.

    updated_at: string

    When the RPC Node Flex was updated.

    formatdate-time

    Create RPC Node Flex

    curl https://api.nirvanalabs.io/v1/rpc_nodes/flex \
        -H 'Content-Type: application/json' \
        -H "Authorization: Bearer $NIRVANA_LABS_API_KEY" \
        -d '{
              "blockchain": "ethereum",
              "name": "my-ethereum-node",
              "network": "mainnet",
              "project_id": "123e4567-e89b-12d3-a456-426614174000",
              "tags": [
                "production",
                "ethereum"
              ]
            }'
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "blockchain": "ethereum",
      "created_at": "2025-01-01T00:00:00Z",
      "endpoint": "https://ethereum-mainnet.nirvanalabs.xyz/my-ethereum-node-abc12?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/my-ethereum-node-abc12?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"
    }