---
title: NodeProtocol
description: NodeProtocol represents a protocol supported by a node contact.
source_url:
  html: https://thru.org/docs/api-ref/grpc/messages/thru/core/v1/node-protocol/
  md: https://thru.org/docs/api-ref/grpc/messages/thru/core/v1/node-protocol.md
---

# NodeProtocol

NodeProtocol represents a protocol supported by a node contact.

**Package:** `thru.core.v1`

## Fields

| Field | Type | # | Description |
| - | - | - | - |
| `contact_idx` | `uint32` | 1 · optional | Index into the contacts array. |
| `protocol_id` | `uint32` | 2 · optional | Protocol identifier (discovery=1, block\_dissem=2, consensus=3, snapshot=4, repair=5, transaction=6). |
