Zora · Schema

zoraSDK_coinHolders query

Response schema for GetCoinHolders - /coinHolders

NFTWeb3BlockchainEthereumL2Creator EconomyMarketplaceZora NetworkBaseOptimism

Properties

Name Type Description
zora20Token object
View JSON Schema on GitHub

JSON Schema

zora-coinholders-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://zora.co/schemas/coinholders.json",
  "title": "zoraSDK_coinHolders query",
  "description": "Response schema for GetCoinHolders - /coinHolders",
  "type": "object",
  "properties": {
    "zora20Token": {
      "type": "object",
      "properties": {
        "tokenBalances": {
          "type": "object",
          "properties": {
            "pageInfo": {
              "type": "object",
              "properties": {
                "endCursor": {
                  "type": "string",
                  "nullable": true,
                  "description": "When paginating forwards, the cursor to continue."
                },
                "hasNextPage": {
                  "type": "boolean",
                  "nullable": false,
                  "description": "When paginating forwards, are there more items?"
                }
              },
              "required": [
                "hasNextPage"
              ],
              "nullable": false
            },
            "count": {
              "type": "integer",
              "nullable": false,
              "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
            },
            "edges": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "node": {
                    "type": "object",
                    "properties": {
                      "balance": {
                        "type": "string",
                        "nullable": false,
                        "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text."
                      },
                      "ownerAddress": {
                        "type": "string",
                        "nullable": false
                      },
                      "ownerProfile": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "nullable": false,
                            "description": "The Globally Unique ID of this object"
                          },
                          "handle": {
                            "type": "string",
                            "nullable": false,
                            "description": "Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead."
                          },
                          "platformBlocked": {
                            "type": "boolean",
                            "nullable": false,
                            "description": "The `Boolean` scalar type represents `true` or `false`."
                          },
                          "avatar": {
                            "type": "object",
                            "properties": {
                              "previewImage": {
                                "type": "object",
                                "properties": {
                                  "blurhash": {
                                    "type": "string",
                                    "nullable": true,
                                    "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text."
                                  },
                                  "medium": {
                                    "type": "string",
                                    "nullable": false,
                                    "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text."
                                  },
                                  "small": {
                                    "type": "string",
                                    "nullable": false,
                                    "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text."
                                  }
                                },
                                "required": [
                                  "medium",
                                  "small"
                                ],
                                "nullable": false
                              }
                            },
                            "required": [
                              "previewImage"
                            ],
                            "nullable": true
                          }
                        },
                        "required": [
                          "id",
                          "handle",
                          "platformBlocked"
                        ],
                        "nullable": false
                      }
                    },
                    "required": [
                      "balance",
                      "ownerAddress",
                      "ownerProfile"
                    ],
                    "nullable": false
                  }
                },
                "required": [
                  "node"
                ]
              },
              "nullable": false
            }
          },
          "required": [
            "pageInfo",
            "count",
            "edges"
          ],
          "nullable": false
        }
      },
      "required": [
        "tokenBalances"
      ],
      "nullable": true
    }
  }
}