Get desktop application:
View/edit binary Protocol Buffers messages
Submit Methods
Validation Methods
Event Methods @http-api: none
@http-api: events
Casts @http-api: castById
Reactions @http-api: reactionById
To be deprecated
User Data @http-api: none
Username Proof @http-api: userNameProofByName
Verifications @http-api: none
OnChain Events @http-api: none
@http-api: none
@http-api: none
@http-api: onChainIdRegistryEventByAddress
@http-api: storageLimitsByFid
Links @http-api: linkById
@http-api: linksByTargetFid
Bulk Methods The Bulk methods don't have corresponding HTTP API endpoints because the regular endpoints can be used to get all the messages @http-api: none
@http-api: none
@http-api: none
@http-api: none
@http-api: none
@http-api: none
@http-api: none
Sync Methods
@http-api: none
This is experimental, do not rely on this endpoint existing in the future @http-api: none
@http-api: none
@http-api: none
@http-api: none
@http-api: none
@http-api: none
@http-api: none
@http-api: none
Used in:
Used in:
* Adds a new Cast
Used in:
URLs to be embedded in the cast
Fids mentioned in the cast
Parent cast of the cast
Parent URL
Text of the cast
Positions of the mentions in the text
URLs or cast ids to be embedded in the cast
Type of cast
* Identifier used to look up a Cast
Used as request type in: HubService.GetCast
Used as field type in:
, , , , , ,Fid of the user who created the cast
Hash of the cast
* Removes an existing Cast
Used in:
Hash of the cast to remove
* Type of cast
Used in:
Used in:
Signature of the message digest
Public key of the peer that originated the contact info
Optional alternative serialization used for signing
Used in:
,Used as response type in: HubService.GetCurrentPeers
Used as field type in:
Used in:
Used in:
Used as request type in: AdminService.DeleteAllMessagesFromDb, AdminService.RebuildSyncTrie, HubService.GetCurrentPeers, HubService.StopSync
Used as response type in: AdminService.DeleteAllMessagesFromDb, AdminService.RebuildSyncTrie
Used as field type in:
(message has no fields)
* Farcaster network the message is intended for
Used in:
, ,Public primary network
Public test network
Private test network
Used as request type in: HubService.GetCastsByFid, HubService.GetCastsByMention, HubService.GetCurrentStorageLimitsByFid, HubService.GetIdRegistryOnChainEvent, HubService.GetLinkCompactStateMessageByFid, HubService.GetOnChainSignersByFid, HubService.GetUserDataByFid, HubService.GetUserNameProofsByFid, HubService.GetVerificationsByFid
Used as field type in:
Used as request type in: HubService.GetAllCastMessagesByFid, HubService.GetAllLinkMessagesByFid, HubService.GetAllReactionMessagesByFid, HubService.GetAllUserDataMessagesByFid, HubService.GetAllVerificationMessagesByFid
Used as field type in:
* A Farcaster Frame action
Used in:
URL of the Frame triggering the action
The index of the button pressed (1-4)
The cast which contained the frame url
Text input from the user, if present
Serialized frame state value
Chain-specific transaction ID for tx actions
Chain-specific address for tx actions
Used in:
,Deprecated IdRegistryEvent id_registry_event = 2;
Farcaster epoch timestamp in seconds when this message was first created
Used in:
* Type of hashing scheme used to produce a digest of MessageData
Used in:
Default scheme for hashing MessageData
Used as response type in: HubService.GetEvent, HubService.Subscribe
Deprecated MergeIdRegistryEventBody merge_id_registry_event_body = 6; MergeNameRegistryEventBody merge_name_registry_event_body = 7;
Deprecated MergeRentRegistryEventBody merge_rent_registry_event_body = 9; MergeStorageAdminRegistryEventBody merge_storage_admin_registry_event_body = 10;
Used in:
,Deprecated HUB_EVENT_TYPE_MERGE_ID_REGISTRY_EVENT = 4; HUB_EVENT_TYPE_MERGE_NAME_REGISTRY_EVENT = 5;
Deprecated HUB_EVENT_TYPE_MERGE_RENT_REGISTRY_EVENT = 7; HUB_EVENT_TYPE_MERGE_STORAGE_ADMIN_REGISTRY_EVENT = 8;
Used as request type in: HubService.GetInfo
Used as field type in:
Response Types for the Sync RPC Methods
Used as response type in: HubService.GetInfo
Used as field type in:
uint32 last_eth_block = 1; // Deprecated
bool syncEvents = 4; // Deprecated
Used in:
Used in:
* Adds or removes a Link
Used in:
Type of link, <= 8 characters
User-defined timestamp that preserves original timestamp when message.data.timestamp needs to be updated for compaction
The fid the link relates to
* A Compaction message for the Link Store
Used in:
Type of link, <= 8 characters
Used in:
Used in:
Used in:
Used in:
* 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:
, , , , , , , , , ,Contents of the message
Hash digest of data
Hash scheme that produced the hash digest
Signature of the hash digest
Signature scheme that produced the signature
Public key or address of the key pair that produced the signature
MessageData serialized to bytes if using protobuf serialization other than ts-proto
Used in:
* A MessageData object contains properties common to all messages and wraps a body object which contains properties specific to the MessageType.
Used in:
Type of message contained in the body
Farcaster ID of the user producing the message
Farcaster epoch timestamp in seconds
Farcaster network the message is intended for
SignerAddBody signer_add_body = 11; // Deprecated
SignerRemoveBody signer_remove_body = 13; // Deprecated
Compaction messages
Used in:
* Type of the MessageBody
Used in:
Add a new Cast
Remove an existing Cast
Add a Reaction to a Cast
Remove a Reaction from a Cast
Add a new Link
Remove an existing Link
Add a Verification of an Ethereum Address
Remove a Verification
Deprecated MESSAGE_TYPE_SIGNER_ADD = 9; // Add a new Ed25519 key pair that signs messages for a user MESSAGE_TYPE_SIGNER_REMOVE = 10; // Remove an Ed25519 key pair that signs messages for a user
Add metadata about a user
Add or replace a username proof
A Farcaster Frame action
Link Compaction State Message
Used as response type in: HubService.GetAllCastMessagesByFid, HubService.GetAllLinkMessagesByFid, HubService.GetAllMessagesBySyncIds, 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
Used as field type in:
,Used in:
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:
,Used as request type in: HubService.GetOnChainEvents
Used as field type in:
Used as response type in: HubService.GetOnChainEvents, HubService.GetOnChainSignersByFid
Used as field type in:
Used in:
,Used in:
* Type of Protocol to disambiguate verification addresses
Used in:
,Used in:
* Adds or removes a Reaction from a Cast
Used in:
Type of reaction
CastId of the Cast to react to
URL to react to
* Type of Reaction
Used in:
, , ,Like the target cast
Share target cast to the user's audience
Used as request type in: HubService.GetReactionsByCast, HubService.GetReactionsByTarget
Used in:
* Type of signature scheme used to sign the Message hash
Used in:
Ed25519 signature (default)
ECDSA signature using EIP-712 scheme
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
,Used as request type in: HubService.GetAllMessagesBySyncIds
Used as response type in: HubService.GetAllSyncIdsByPrefix
Used as field type in:
,Used in:
Used as request type in: HubService.ForceSync, HubService.GetSyncStatus
Used as field type in:
Used as response type in: HubService.ForceSync, HubService.GetSyncStatus, HubService.StopSync
Used as field type in:
Used as response type in: HubService.GetSyncMetadataByPrefix
Used as field type in:
Used as request type in: HubService.GetAllSyncIdsByPrefix, HubService.GetSyncMetadataByPrefix, HubService.GetSyncSnapshotByPrefix
Used as field type in:
Used as response type in: HubService.GetSyncSnapshotByPrefix
Used as field type in:
* Adds metadata about a user
Used in:
Type of metadata
Value of the metadata
* Type of UserData
Used in:
,Profile Picture for the user
Display Name for the user
Bio for the user
URL of the user
Preferred Name for the user
Current location for the user
Username of user on x
Username of user on github
Used as response type in: HubService.GetUsernameProof
Used as field type in:
, ,Used in:
Used in:
The (Farcaster time epoch) timestamp where the last job started
The last FID to complete successfully. If this is 0, then the last job finished successfully
* Adds a Verification of ownership of an Address based on Protocol
Used in:
Address being verified for a given Protocol
Signature produced by the user's address for a given Protocol
Hash of the latest Ethereum block when the signature was produced
Type of verification. 0 = EOA, 1 = contract
0 for EOA verifications, 1 or 10 for contract verifications
Protocol of the Verification
* Removes a Verification of a given protocol
Used in:
Address of the Verification to remove
Protocol of the Verification to remove