Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service AdminService

admin_rpc.proto:35

service HubService

rpc.proto:10

service ReplicationService

replication.proto:7

message Block

blocks.proto:169

Used as response type in: HubService.GetBlocks

Used as field type in: DecidedValue, FullProposal, ShardSnapshotMetadata

message BlockConfirmedBody

hub_event.proto:58

Used in: HubEvent

message BlockEvent

blocks.proto:142

Used in: Block, ValidatorMessage

message BlockEventData

blocks.proto:129

Used in: BlockEvent

enum BlockEventType

blocks.proto:103

Used in: BlockEventData

message BlockHeader

blocks.proto:148

Block types

Used in: Block

message BulkMessageResponse

request_response.proto:388

Used in: SubmitBulkMessagesResponse

message CastAddBody

message.proto:143

* Adds a new Cast

Used in: MessageData

message CastId

message.proto:162

* Identifier used to look up a Cast

Used as request type in: HubService.GetCast

Used as field type in: CastAddBody, CastsByParentRequest, Embed, FrameActionBody, ReactionBody, ReactionRequest, ReactionsByTargetRequest

message CastRemoveBody

message.proto:157

* Removes an existing Cast

Used in: MessageData

enum CastType

message.proto:135

* Type of cast

Used in: CastAddBody

enum CastingMode

message.proto:270

* ADVISORY metadata only: the protocol accepts casts into a channel regardless of mode, and never enforces it at cast merge. Clients may enforce it.

Used in: ChannelUpdateBody

message ChannelInfo

request_response.proto:190

Used in: ChannelsResponse

enum ChannelMemberAction

message.proto:289

Used in: ChannelMemberBody

message ChannelMemberBody

message.proto:319

Used in: MessageData

enum ChannelModerateAction

message.proto:299

Used in: ChannelModerateBody

message ChannelModerateBody

message.proto:336

Used in: MessageData

enum ChannelOwnerChangeCause

hub_event.proto:31

What caused a channel's recorded owner to (possibly) change. NONE (0) is the proto3 zero-default and is never emitted on a real hint; treat a NONE or otherwise unrecognized cause as "re-read the owner" and do not assume the set of causes is closed — new causes may be added over time. RENEW is deliberately absent: extending a registration's expiry is not an ownership change, so renewals emit no hint.

Used in: ChannelOwnerChangeHintBody

message ChannelOwnerChangeHintBody

hub_event.proto:98

A trigger telling consumers that a channel's owner may have changed. It is a nudge, not authoritative data — it carries no resolved owner. CONSUMER CONTRACT (stable API): - Delivery is at-least-once across the full shard set (see the coverage note below) and may over-emit: the resolved winner may not have actually changed since the last hint. Treat a hint as "re-read", never as "the owner is now X". - Hints carry NO fid claims. On receipt, call GetChannelOwner to learn the current owner; this body's owner_address is a raw registry-owner address, not an authoritative resolution. - REGISTER/TRANSFER hints ride the shard-0 -> data-shard fan-out. The LATEST ownership update of a channel hints on every shard, but any single shard may COALESCE a rapid same-channel burst down to just the latest hint, so no single shard's stream is guaranteed to carry every hint. VERIFICATION_ADD/REMOVE hints appear only on the verifier's home shard. Complete coverage therefore requires subscribing to all shards and, as above, treating each hint as a re-read trigger rather than a full log. - Nothing fires when a lapsed registration's grace period ends (the chain is silent at expiry); consumers apply expiry themselves.

Used in: HubEvent

message ChannelPinBody

message.proto:328

* A single pin per channel; a new pin replaces the previous one.

Used in: MessageData

message ChannelRegisterBody

onchain_event.proto:45

Field-presence rules below are producer conventions (the connector), not merge validity rules: the store checks them only as index-input gating, so an event that fails those checks still merges as a raw onchain event — it just builds no channel index entries.

Used in: OnChainEvent

enum ChannelRegisterEventType

onchain_event.proto:34

Used in: ChannelRegisterBody

message ChannelUpdateBody

message.proto:305

Used in: MessageData

message ChannelsResponse

request_response.proto:201

Used as response type in: HubService.GetChannelsByAddress, HubService.GetChannelsByFid

message CommitSignature

blocks.proto:49

Used in: Commits

message Commits

blocks.proto:54

Used in: Block, ShardChunk, SyncValueResponse

message ConnectedPeer

request_response.proto:464

Used in: GetConnectedPeersResponse

message ConsensusMessage

blocks.proto:95

Used in: GossipMessage

message ContactInfo

gossip.proto:7

Used in: GossipMessage

message ContactInfoBody

request_response.proto:436

Used in: ConnectedPeer, ContactInfo, GetConnectedPeersResponse, MeshPeer

enum ContactSource

request_response.proto:458

Where a peer's address/contact data came from. Keeps internally-derived (observed) data from being conflated with peer-attested gossip data.

Used in: ConnectedPeer, MeshPeer

message DbMerkleTrieMetadata

sync_trie.proto:10

message DbStats

request_response.proto:34

Used in: GetInfoResponse

message DbTrieNode

sync_trie.proto:3

message DecidedValue

blocks.proto:82

Used in: ReadNodeMessage

message Embed

message.proto:127

Used in: CastAddBody

message Empty

admin_rpc.proto:6

Used as response type in: AdminService.RetryFnameEvents, AdminService.RetryOnchainEvents, AdminService.RunOnchainEventsMigration, AdminService.UploadSnapshot

(message has no fields)

enum FarcasterNetwork

message.proto:96

* Farcaster network the message is intended for

Used in: BlockHeader, ContactInfoBody, MeshSelf, MessageData

message FidAccountRootHash

replication.proto:69

Used in: GetShardTransactionsResponse

message FidRequest

request_response.proto:69

Used as request type in: HubService.GetCastsByFid, HubService.GetCastsByMention, HubService.GetCurrentStorageLimitsByFid, HubService.GetIdRegistryOnChainEvent, HubService.GetLinkCompactStateMessageByFid, HubService.GetOnChainSignersByFid, HubService.GetUserDataByFid, HubService.GetUserNameProofsByFid, HubService.GetVerificationsByFid

message FidTimestampRequest

request_response.proto:76

Used as request type in: HubService.GetAllCastMessagesByFid, HubService.GetAllLendStorageMessagesByFid, HubService.GetAllLinkMessagesByFid, HubService.GetAllReactionMessagesByFid, HubService.GetAllUserDataMessagesByFid, HubService.GetAllVerificationMessagesByFid

message FnameState

node_state.proto:7

message FnameTransfer

blocks.proto:200

Fname transfers

Used in: ShardTrieEntryWithMessage, ValidatorMessage

message FrameActionBody

message.proto:221

* A Farcaster Frame action

Used in: MessageData

message FullProposal

blocks.proto:72

TODO: This probably needs a signature? Should we use ConsensusMessage?

Used in: GossipMessage

message GetMeshViewRequest

request_response.proto:477

Used as request type in: HubService.GetMeshTopology, HubService.GetMeshView

message GossipMessage

gossip.proto:11

message GossipRate

request_response.proto:485

Used in: MeshPeer

enum HashScheme

message.proto:56

* Type of hashing scheme used to produce a digest of MessageData

Used in: Message

message HeartbeatEventBody

blocks.proto:114

Used in: BlockEventData

(message has no fields)

message Height

blocks.proto:21

Used in: BlockHeader, Commits, FullProposal, Proposal, ShardChunkWitness, ShardHeader, StatusMessage, SyncValueRequest, SyncValueResponse, SyncVoteSetRequest, SyncVoteSetResponse, Vote

message HubEvent

hub_event.proto:110

Used as response type in: HubService.GetEvent, HubService.Subscribe

Used as field type in: EventsResponse

enum HubEventType

hub_event.proto:7

Used in: HubEvent, SubscribeRequest

message IdRegisterEventBody

onchain_event.proto:101

Used in: OnChainEvent

enum IdRegisterEventType

onchain_event.proto:94

Used in: IdRegisterEventBody

message KeyAddBody

message.proto:244

* Registers an Ed25519 key for an FID via custody-authenticated message

Used in: MessageData

message KeyRemoveBody

message.proto:258

* Revokes an Ed25519 key via custody signature or self-revocation

Used in: MessageData

message LendStorageBody

message.proto:237

Used in: MessageData

message LinkBody

message.proto:206

* Adds or removes a Link

Used in: MessageData

message LinkCompactStateBody

message.proto:215

* A Compaction message for the Link Store

Used in: MessageData

enum MembershipMode

message.proto:283

* Protocol-relevant, unlike CastingMode: this is intended to gate whether an fid may add itself as a member (a ChannelMemberBody with CHANNEL_MEMBER_ACTION_ADD_MEMBER whose fid equals the sending message's fid). OPEN admits self-adds; APPROVAL requires a moderator. Not enforced yet — no channel message merges on any network.

Used in: ChannelUpdateBody

message MempoolMessage

blocks.proto:215

Gossip related messages

Used in: GossipMessage

message MergeFailureBody

hub_event.proto:44

Used in: HubEvent

message MergeMessageBody

hub_event.proto:39

Used in: HubEvent

message MergeMessageEventBody

blocks.proto:117

Used in: BlockEventData

message MergeOnChainEventBody

hub_event.proto:68

Used in: HubEvent

message MergeOnChainEventEventBody

blocks.proto:125

Carries the whole original OnChainEvent (carry-the-original convention, mirroring MergeMessageEventBody): data shards replay the same input shard 0 saw and the existing channel fold consumes it unmodified (see the enum comment above — gated at V20).

Used in: BlockEventData

message MergeUserNameProofBody

hub_event.proto:72

Used in: HubEvent

enum MeshNodeType

request_response.proto:471

Used in: MeshPeer

message MeshPeer

request_response.proto:512

Used in: MeshView

message MeshSelf

request_response.proto:499

Used in: MeshView

message MeshView

request_response.proto:525

Used as response type in: HubService.GetMeshView

Used as field type in: MeshTopology

message Message

message.proto:10

* A Message is a delta operation on the Farcaster network. The message protobuf is an envelope that wraps a MessageData object and contains a hash and signature which can verify its authenticity.

Used as request type in: HubService.SubmitMessage, HubService.ValidateMessage

Used as response type in: HubService.GetCast, HubService.GetLink, HubService.GetReaction, HubService.GetUserData, HubService.GetVerification, HubService.SubmitMessage

Used as field type in: BulkMessageResponse, MempoolMessage, MergeFailureBody, MergeMessageBody, MergeMessageEventBody, MergeUserNameProofBody, MessagesResponse, PruneMessageBody, RevokeMessageBody, ShardTrieEntryWithMessage, SubmitBulkMessagesRequest, Transaction, ValidationResponse

message MessageData

message.proto:24

* A MessageData object contains properties common to all messages and wraps a body object which contains properties specific to the MessageType.

Used in: Message

message MessageError

request_response.proto:382

Used in: BulkMessageResponse

enum MessageType

message.proto:69

* Type of the MessageBody

Used in: MessageData

message MessagesResponse

request_response.proto:97

Used as response type in: HubService.GetAllCastMessagesByFid, HubService.GetAllLendStorageMessagesByFid, HubService.GetAllLinkMessagesByFid, HubService.GetAllReactionMessagesByFid, HubService.GetAllUserDataMessagesByFid, HubService.GetAllVerificationMessagesByFid, HubService.GetCastsByFid, HubService.GetCastsByMention, HubService.GetCastsByParent, HubService.GetLinkCompactStateMessageByFid, HubService.GetLinksByFid, HubService.GetLinksByTarget, HubService.GetReactionsByCast, HubService.GetReactionsByFid, HubService.GetReactionsByTarget, HubService.GetUserDataByFid, HubService.GetVerificationsByFid

message OnChainEvent

onchain_event.proto:13

Used as request type in: AdminService.SubmitOnChainEvent

Used as response type in: AdminService.SubmitOnChainEvent, HubService.GetIdRegistryOnChainEvent, HubService.GetIdRegistryOnChainEventByAddress, HubService.GetOnChainSigner

Used as field type in: MergeOnChainEventBody, MergeOnChainEventEventBody, OnChainEventResponse, ShardTrieEntryWithMessage, Signer, ValidatorMessage

message OnChainEventResponse

request_response.proto:153

Used as response type in: HubService.GetOnChainEvents, HubService.GetOnChainSignersByFid

message OnChainEventState

node_state.proto:3

enum OnChainEventType

onchain_event.proto:3

Used in: OnChainEvent, OnChainEventRequest

message Proposal

blocks.proto:61

Used in: ConsensusMessage

enum Protocol

message.proto:184

* Type of Protocol to disambiguate verification addresses

Used in: VerificationAddAddressBody, VerificationRemoveBody

message PruneMessageBody

hub_event.proto:50

Used in: HubEvent

message ReactionBody

message.proto:168

* Adds or removes a Reaction from a Cast

Used in: MessageData

enum ReactionType

message.proto:177

* Type of Reaction

Used in: ReactionBody, ReactionRequest, ReactionsByFidRequest, ReactionsByTargetRequest

message ReactionsByTargetRequest

request_response.proto:129

Used as request type in: HubService.GetReactionsByCast, HubService.GetReactionsByTarget

message ReadNodeMessage

blocks.proto:89

Used in: GossipMessage

message ReplicationTriePartStatus

replication.proto:75

message RetryBlockNumberRange

admin_rpc.proto:8

Used in: RetryOnchainEventsRequest

message RevokeMessageBody

hub_event.proto:54

Used in: HubEvent

message ShardChunk

blocks.proto:185

Used in: DecidedValue, FullProposal, ShardChunksResponse, ShardSnapshotMetadata

message ShardChunkWitness

blocks.proto:163

Used in: ShardWitness

message ShardHash

blocks.proto:34

Uniquely identifies a hash within a shard

Used in: Commits, Proposal, Vote

message ShardHeader

blocks.proto:178

Used in: ShardChunk

message ShardInfo

request_response.proto:40

Used in: GetInfoResponse

message ShardSnapshotMetadata

replication.proto:17

Used in: GetShardSnapshotMetadataResponse

message ShardTrieEntryWithMessage

replication.proto:56

Used in: GetShardTransactionsResponse

message ShardWitness

blocks.proto:159

Used in: Block

enum SignatureScheme

message.proto:62

* Type of signature scheme used to sign the Message hash

Used in: Message

message Signer

request_response.proto:278

Unified per-key record. Optional fields are populated only when carried by the underlying source (on-chain signer event vs. gasless KEY_ADD record).

Used in: SignerResponse, SignersByFidResponse

message SignerEventBody

onchain_event.proto:82

Used in: OnChainEvent

enum SignerEventType

onchain_event.proto:75

Used in: SignerEventBody

message SignerMigratedEventBody

onchain_event.proto:90

Used in: OnChainEvent

message SignerRequest

request_response.proto:264

Used as request type in: HubService.GetOnChainSigner, HubService.GetSigner

enum SignerSource

request_response.proto:270

Source of a signer record returned by GetSigner / GetSignersByFid.

Used in: Signer

message StatusMessage

blocks.proto:221

Used in: GossipMessage

message StorageLimit

request_response.proto:237

Used in: StorageLimitsResponse

message StorageRentEventBody

onchain_event.proto:108

Used in: OnChainEvent

message StorageUnitDetails

request_response.proto:229

Used in: StorageLimitsResponse

enum StorageUnitType

message.proto:231

Used in: LendStorageBody, StorageUnitDetails

enum StoreType

request_response.proto:218

Used in: StorageLimit

message SyncRequest

blocks.proto:236

message SyncResponse

blocks.proto:256

message SyncValueRequest

blocks.proto:227

Used in: SyncRequest

message SyncValueResponse

blocks.proto:243

Used in: SyncResponse

message SyncVoteSetRequest

blocks.proto:231

Used in: SyncRequest

message SyncVoteSetResponse

blocks.proto:249

Used in: SyncResponse

message TierDetails

request_response.proto:206

Used in: StorageLimitsResponse

message TierPurchaseBody

onchain_event.proto:69

Used in: OnChainEvent

enum TierType

onchain_event.proto:64

Used in: TierDetails, TierPurchaseBody

message TopicMembership

request_response.proto:493

Used in: MeshPeer

message Transaction

blocks.proto:192

Used in: Block, ShardChunk

message UnreachableNode

request_response.proto:535

A validator that the crawl could not query directly. The crawl is connected-only: validators the serving node has no live connection to, or that did not respond in time, are surfaced here rather than dropped.

Used in: MeshTopology

message UserDataBody

message.proto:104

* Adds metadata about a user

Used in: MessageData

enum UserDataType

message.proto:110

* Type of UserData

Used in: UserDataBody, UserDataRequest

message UserNameProof

username_proof.proto:10

Used as request type in: AdminService.SubmitUserNameProof

Used as response type in: AdminService.SubmitUserNameProof, HubService.GetUsernameProof

Used as field type in: FnameTransfer, MergeUserNameProofBody, MessageData, UsernameProofsResponse

enum UserNameType

username_proof.proto:3

Used in: UserNameProof

message Validator

blocks.proto:9

Used in: ValidatorSet

message ValidatorMessage

blocks.proto:207

Validator initiated prunes/revokes etc

Used in: Transaction

message ValidatorSet

blocks.proto:17

message VerificationAddAddressBody

message.proto:190

* Adds a Verification of ownership of an Address based on Protocol

Used in: MessageData

message VerificationRemoveBody

message.proto:200

* Removes a Verification of a given protocol

Used in: MessageData

message Vote

blocks.proto:39

Used in: ConsensusMessage, SyncVoteSetResponse

enum VoteType

blocks.proto:28

Consensus messages

Used in: Vote