Neynar · Example Payload

Fetch Subscription Check

Check if a wallet address is subscribed to a given STP (Hypersub) contract.

Subscribers

Fetch Subscription Check is an example object payload from Neynar, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "fetch-subscription-check",
  "method": "GET",
  "path": "/v2/stp/subscription_check/",
  "summary": "Hypersub subscription check",
  "description": "Check if a wallet address is subscribed to a given STP (Hypersub) contract.",
  "tags": [
    "Subscribers"
  ],
  "parameters": [
    {
      "name": "addresses",
      "in": "query",
      "required": true,
      "description": "Comma separated list of Ethereum addresses, up to 350 at a time",
      "schema": {
        "example": "0xedd3783e8c7c52b80cfbd026a63c207edc9cbee7,0x5a927ac639636e534b678e81768ca19e2c6280b7",
        "type": "string",
        "x-comma-separated": true
      }
    },
    {
      "name": "contract_address",
      "in": "query",
      "required": true,
      "description": "Ethereum address of the STP contract",
      "schema": {
        "example": "0x76ad4cb9ac51c09f4d9c2cadcea75c9fa9074e5b",
        "type": "string"
      }
    },
    {
      "name": "chain_id",
      "in": "query",
      "required": true,
      "description": "Chain ID of the STP contract",
      "schema": {
        "example": "8453",
        "type": "string"
      }
    }
  ],
  "requestBody": null,
  "responses": {
    "200": {
      "description": "Success",
      "schema": {
        "$ref": "#/components/schemas/SubscriptionCheckResponse"
      },
      "example": null
    },
    "400": {
      "description": "Bad Request",
      "schema": {
        "$ref": "#/components/schemas/ErrorRes"
      },
      "example": null
    }
  }
}