Neynar · Schema

Hub MessageDataCommon

Common properties shared by all Farcaster message types. These properties provide essential metadata about the message's origin, timing, and network context.

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain

Properties

Name Type Description
type object
fid integer The unique identifier (FID) of the user who created this message. FIDs are assigned sequentially when users register on the network and cannot be changed.
timestamp integer Seconds since Farcaster Epoch (2021-01-01T00:00:00Z). Used to order messages chronologically and determine the most recent state. Must be within 10 minutes of the current time when the message is crea
network object
View JSON Schema on GitHub

JSON Schema

hub-messagedatacommon.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/hub/MessageDataCommon",
  "title": "Hub MessageDataCommon",
  "description": "Common properties shared by all Farcaster message types. These properties provide essential metadata about the message's origin, timing, and network context.",
  "required": [
    "fid",
    "network",
    "timestamp"
  ],
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/components/schemas/MessageType"
    },
    "fid": {
      "title": "Farcaster ID of the user producing the message",
      "description": "The unique identifier (FID) of the user who created this message. FIDs are assigned sequentially when users register on the network and cannot be changed.",
      "type": "integer",
      "format": "uint64",
      "example": 2
    },
    "timestamp": {
      "description": "Seconds since Farcaster Epoch (2021-01-01T00:00:00Z). Used to order messages chronologically and determine the most recent state. Must be within 10 minutes of the current time when the message is created.",
      "type": "integer",
      "format": "int64",
      "example": 48994466
    },
    "network": {
      "$ref": "#/components/schemas/FarcasterNetwork"
    }
  }
}