Neynar · Schema

Hub MessageDataCastRemove

Represents a request to remove (delete) a previously created cast. Only the original creator of a cast can remove it.

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain
View JSON Schema on GitHub

JSON Schema

hub-messagedatacastremove.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/hub/MessageDataCastRemove",
  "title": "Hub MessageDataCastRemove",
  "description": "Represents a request to remove (delete) a previously created cast. Only the original creator of a cast can remove it.",
  "allOf": [
    {
      "$ref": "#/components/schemas/MessageDataCommon"
    },
    {
      "type": "object",
      "required": [
        "targetHash"
      ],
      "properties": {
        "targetHash": {
          "title": "Hash of the cast to remove",
          "description": "The unique hash identifier of the cast to be removed. Must be a cast that was previously created by the same FID specified in the message.",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string",
          "example": "0x03aff391a6eb1772b20b4ead9a89f732be75fe27"
        }
      }
    }
  ]
}