Compass API Reference

Welcome to the Compass GraphQL API documentation.

You can view query and response examples in the area to the right. We provide these examples for nearly all available methods of the Compass API.

To use the Compass API, get a Compass Lifetime Pass from OpenSea

Contact

API Support
api@compass.art

Terms of Service: https://compass.art/legal/terms

API Endpoints
Production:
https://api.compass.art/graphql
Authentication

Some queries and fields require you to authenticate and validate premium access.

To authenticate, create an api token and pass it with each request in the headers: Authorization: Bearer YOUR_API_TOKEN.

Get started

You can validate your API token by sending the me query. You should see information about your user account in the response.

Next, fetch the currently trending collections ( trendingCollections).

Queries

activeDraw

Returns a Draw

Example

Query
query activeDraw {
  activeDraw {
    id
    seedHash
    isActive
    startsAt
    endsAt
    coinPrizes {
      ...CoinPrizeFragment
    }
    whitelistPrizes {
      ...WhitelistCollectionPrizeFragment
    }
    tokenPrizes {
      ...TokenPrizeFragment
    }
    prizesWon {
      ...ClaimablePrizeFragment
    }
    entries {
      ...EntryFragment
    }
  }
}
Response
{
  "data": {
    "activeDraw": {
      "id": 123,
      "seedHash": "xyz789",
      "isActive": false,
      "startsAt": DateTime,
      "endsAt": DateTime,
      "coinPrizes": [CoinPrize],
      "whitelistPrizes": [WhitelistCollectionPrize],
      "tokenPrizes": [TokenPrize],
      "prizesWon": [ClaimablePrize],
      "entries": [Entry]
    }
  }
}

alert

Returns an Alert

Name Description
id - Int!

Example

Query
query alert($id: Int!) {
  alert(id: $id) {
    id
    userId
    name
    type
    config
    lastCheckedAt
    lastEvaluatedAt
    lastValue
    createdAt
    externalUserId
    status
    _count {
      ...AlertCountFragment
    }
    channels
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "alert": {
      "id": 123,
      "userId": "xyz789",
      "name": "xyz789",
      "type": AlertType,
      "config": {},
      "lastCheckedAt": DateTime,
      "lastEvaluatedAt": DateTime,
      "lastValue": 987.65,
      "createdAt": DateTime,
      "externalUserId": 123,
      "status": AlertStatus,
      "_count": AlertCount,
      "channels": [123]
    }
  }
}

alertHistory

Returns [AlertHistory!]!

Name Description
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
id - Int!

Example

Query
query alertHistory($take: Int, $skip: Int, $id: Int!) {
  alertHistory(take: $take, skip: $skip, id: $id) {
    id
    alertId
    payload
    createdAt
  }
}
Variables
{"take": 50, "skip": 0, "id": 123}
Response
{
  "data": {
    "alertHistory": [
      {
        "id": 987,
        "alertId": 987,
        "payload": {},
        "createdAt": DateTime
      }
    ]
  }
}

alerts

Returns [Alert!]!

Example

Query
query alerts {
  alerts {
    id
    userId
    name
    type
    config
    lastCheckedAt
    lastEvaluatedAt
    lastValue
    createdAt
    externalUserId
    status
    _count {
      ...AlertCountFragment
    }
    channels
  }
}
Response
{
  "data": {
    "alerts": [
      {
        "id": 123,
        "userId": "abc123",
        "name": "abc123",
        "type": AlertType,
        "config": {},
        "lastCheckedAt": DateTime,
        "lastEvaluatedAt": DateTime,
        "lastValue": 987.65,
        "createdAt": DateTime,
        "externalUserId": 123,
        "status": AlertStatus,
        "_count": AlertCount,
        "channels": [123]
      }
    ]
  }
}

attribute

Returns an Attribute

Name Description
where - AttributeWhereUniqueInput!

Example

Query
query attribute($where: AttributeWhereUniqueInput!) {
  attribute(where: $where) {
    id
    collectionId
    name
    displayType
    _count {
      ...AttributeCountFragment
    }
    valueCount
    collection {
      ...CollectionFragment
    }
    values {
      ...AttributeValueFragment
    }
    tokenAttributes {
      ...TokenAttributeFragment
    }
  }
}
Variables
{"where": AttributeWhereUniqueInput}
Response
{
  "data": {
    "attribute": {
      "id": "xyz789",
      "collectionId": "xyz789",
      "name": "xyz789",
      "displayType": "xyz789",
      "_count": AttributeCount,
      "valueCount": 987,
      "collection": Collection,
      "values": [AttributeValue],
      "tokenAttributes": [TokenAttribute]
    }
  }
}

attributeValues

Example

Query
query attributeValues($where: AttributeValueWhereInput, $orderBy: [AttributeValueOrderByWithRelationInput!], $cursor: AttributeValueWhereUniqueInput, $take: Int, $skip: Int, $distinct: [AttributeValueScalarFieldEnum!]) {
  attributeValues(where: $where, orderBy: $orderBy, cursor: $cursor, take: $take, skip: $skip, distinct: $distinct) {
    id
    attributeId
    value
    _count {
      ...AttributeValueCountFragment
    }
    attribute {
      ...AttributeFragment
    }
    tokenAttributes {
      ...TokenAttributeFragment
    }
    sales {
      ...AttributeValueSalesFragment
    }
    volumeChart {
      ...ChartDataFragment
    }
    tokenCount
  }
}
Variables
{
  "where": AttributeValueWhereInput,
  "orderBy": [AttributeValueOrderByWithRelationInput],
  "cursor": AttributeValueWhereUniqueInput,
  "take": 987,
  "skip": 123,
  "distinct": [AttributeValueScalarFieldEnum]
}
Response
{
  "data": {
    "attributeValues": [
      {
        "id": "abc123",
        "attributeId": "abc123",
        "value": "xyz789",
        "_count": AttributeValueCount,
        "attribute": Attribute,
        "tokenAttributes": [TokenAttribute],
        "sales": AttributeValueSales,
        "volumeChart": [ChartData],
        "tokenCount": 123
      }
    ]
  }
}

avgBalanceOverTime

Average token balance of holders chart data
Returns [ChartData!]

Name Description
period - String Default = "1d"
collectionId - String!

Example

Query
query avgBalanceOverTime($period: String, $collectionId: String!) {
  avgBalanceOverTime(period: $period, collectionId: $collectionId) {
    key
    value
  }
}
Variables
{
  "period": "1d",
  "collectionId": "Generated Argument example for avgBalanceOverTime collectionId"
}
Response
{"data": {"avgBalanceOverTime": [{"key": "abc123", "value": 987.65}]}}

bluechipCollections

Collections labeled as bluechip
Returns [Collection!]!

Example

Query
query bluechipCollections {
  bluechipCollections {
    id
    type
    isVerified
    isRevealed
    revealsAt
    revealedAt
    name
    symbol
    maxSupply
    slug
    imageUrl
    bannerImageUrl
    description
    discordUrl
    contractCreatedTimestamp
    externalUrl
    telegramUrl
    mediumUsername
    twitterUsername
    instagramUsername
    devFeeBasisPoints
    openseaFeeBasisPoints
    updatedAt
    orderbookSyncedAt
    _count {
      ...CollectionCountFragment
    }
    charts {
      ...CollectionChartsFragment
    }
    listingsChart
    listingsOverTime
    transactionsChart
    metrics {
      ...CollectionMetricsFragment
    }
    previousMetrics {
      ...CollectionMetricsFragment
    }
    salesFloor
    previousSalesFloor
    isRefreshingTokenMetadata
    totalSupply
    mintMetrics {
      ...MintingCollectionWithChartFragment
    }
    minters {
      ...CollectionMinterFragment
    }
    revealProgress
    isSyncingOrders
    totalTokensListed
    listedFloor
    topOffer
    previousListedFloor
    tokensListedPastDay
    tokens {
      ...TokenFragment
    }
    listingEvents {
      ...CollectionListingEventFragment
    }
    saleEvents {
      ...CollectionActivityEventFragment
    }
    totalVolume
    totalProfits
    liquidityRank
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    floorPriceChart
    orderbookDepth
    tokenTransfers {
      ...TokenTransferFragment
    }
    attributes {
      ...AttributeFragment
    }
    orders {
      ...OrderFragment
    }
    sales {
      ...SaleFragment
    }
    profitLeaderboard {
      ...ProfitLeaderFragment
    }
    socialMetricsLastUpdatedAt
    twitterMetrics {
      ...TwitterMetricsFragment
    }
    discordMetrics {
      ...DiscordMetricsFragment
    }
    tweets {
      ...TweetMentionFragment
    }
    followedBy {
      ...FollowedByFragment
    }
    isReportedByUser
    isReported
    reportReason
    isPremiumRequired
  }
}
Response
{
  "data": {
    "bluechipCollections": [
      {
        "id": "abc123",
        "type": "xyz789",
        "isVerified": false,
        "isRevealed": false,
        "revealsAt": DateTime,
        "revealedAt": DateTime,
        "name": "xyz789",
        "symbol": "xyz789",
        "maxSupply": 123,
        "slug": "abc123",
        "imageUrl": "xyz789",
        "bannerImageUrl": "xyz789",
        "description": "abc123",
        "discordUrl": "abc123",
        "contractCreatedTimestamp": DateTime,
        "externalUrl": "abc123",
        "telegramUrl": "xyz789",
        "mediumUsername": "xyz789",
        "twitterUsername": "abc123",
        "instagramUsername": "abc123",
        "devFeeBasisPoints": 123,
        "openseaFeeBasisPoints": 123,
        "updatedAt": DateTime,
        "orderbookSyncedAt": DateTime,
        "_count": CollectionCount,
        "charts": CollectionCharts,
        "listingsChart": {},
        "listingsOverTime": {},
        "transactionsChart": {},
        "metrics": CollectionMetrics,
        "previousMetrics": CollectionMetrics,
        "salesFloor": 123.45,
        "previousSalesFloor": 123.45,
        "isRefreshingTokenMetadata": true,
        "totalSupply": 987,
        "mintMetrics": MintingCollectionWithChart,
        "minters": [CollectionMinter],
        "revealProgress": 123.45,
        "isSyncingOrders": true,
        "totalTokensListed": 123,
        "listedFloor": 123.45,
        "topOffer": 987.65,
        "previousListedFloor": 123.45,
        "tokensListedPastDay": 123,
        "tokens": [Token],
        "listingEvents": [CollectionListingEvent],
        "saleEvents": [CollectionActivityEvent],
        "totalVolume": 123.45,
        "totalProfits": 987.65,
        "liquidityRank": LiquidityRank,
        "activity": [ActivityItem],
        "tokensV2": [Token],
        "floorPriceChart": {},
        "orderbookDepth": {},
        "tokenTransfers": [TokenTransfer],
        "attributes": [Attribute],
        "orders": [Order],
        "sales": [Sale],
        "profitLeaderboard": [ProfitLeader],
        "socialMetricsLastUpdatedAt": DateTime,
        "twitterMetrics": [TwitterMetrics],
        "discordMetrics": [DiscordMetrics],
        "tweets": [TweetMention],
        "followedBy": [FollowedBy],
        "isReportedByUser": false,
        "isReported": false,
        "reportReason": ReportReason,
        "isPremiumRequired": true
      }
    ]
  }
}

bluechipCollectionsSales

Bluechip collection metrics
Returns [CollectionWithStats!]!

Name Description
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
period - String Date range of data. Example: "1h", "1d", "7d". Units supported: minute - m, hour - h, day - d. Default = "1h"
sortBy - String Default = "salesCount"
sortDesc - Boolean Default = true

Example

Query
query bluechipCollectionsSales($take: Int, $skip: Int, $period: String, $sortBy: String, $sortDesc: Boolean) {
  bluechipCollectionsSales(take: $take, skip: $skip, period: $period, sortBy: $sortBy, sortDesc: $sortDesc) {
    id
    collection {
      ...CollectionFragment
    }
    volume
    salesCount
    avgPrice
    minPrice
    maxPrice
    medianPrice
    previous {
      ...CollectionWithStatsFragment
    }
  }
}
Variables
{
  "take": 50,
  "skip": 0,
  "period": "1h",
  "sortBy": "salesCount",
  "sortDesc": true
}
Response
{
  "data": {
    "bluechipCollectionsSales": [
      {
        "id": "abc123",
        "collection": Collection,
        "volume": 123.45,
        "salesCount": 123,
        "avgPrice": 123.45,
        "minPrice": 123.45,
        "maxPrice": 987.65,
        "medianPrice": 123.45,
        "previous": CollectionWithStats
      }
    ]
  }
}

channels

Returns [Channel!]!

Example

Query
query channels {
  channels {
    id
    userId
    name
    type
    config
    status
    externalUserId
    _count {
      ...ChannelCountFragment
    }
  }
}
Response
{
  "data": {
    "channels": [
      {
        "id": 987,
        "userId": "abc123",
        "name": "abc123",
        "type": ChannelType,
        "config": {},
        "status": ChannelStatus,
        "externalUserId": 987,
        "_count": ChannelCount
      }
    ]
  }
}

checkCoupon

Returns a Coupon!

Name Description
planId - String!
couponCode - String!

Example

Query
query checkCoupon($planId: String!, $couponCode: String!) {
  checkCoupon(planId: $planId, couponCode: $couponCode) {
    discountValue
  }
}
Variables
{
  "planId": "Generated Argument example for checkCoupon planId",
  "couponCode": "Generated Argument example for checkCoupon couponCode"
}
Response
{"data": {"checkCoupon": {"discountValue": 123.45}}}

collection

Returns a Collection

Name Description
where - CollectionWhereUniqueInput!

Example

Query
query collection($where: CollectionWhereUniqueInput!) {
  collection(where: $where) {
    id
    type
    isVerified
    isRevealed
    revealsAt
    revealedAt
    name
    symbol
    maxSupply
    slug
    imageUrl
    bannerImageUrl
    description
    discordUrl
    contractCreatedTimestamp
    externalUrl
    telegramUrl
    mediumUsername
    twitterUsername
    instagramUsername
    devFeeBasisPoints
    openseaFeeBasisPoints
    updatedAt
    orderbookSyncedAt
    _count {
      ...CollectionCountFragment
    }
    charts {
      ...CollectionChartsFragment
    }
    listingsChart
    listingsOverTime
    transactionsChart
    metrics {
      ...CollectionMetricsFragment
    }
    previousMetrics {
      ...CollectionMetricsFragment
    }
    salesFloor
    previousSalesFloor
    isRefreshingTokenMetadata
    totalSupply
    mintMetrics {
      ...MintingCollectionWithChartFragment
    }
    minters {
      ...CollectionMinterFragment
    }
    revealProgress
    isSyncingOrders
    totalTokensListed
    listedFloor
    topOffer
    previousListedFloor
    tokensListedPastDay
    tokens {
      ...TokenFragment
    }
    listingEvents {
      ...CollectionListingEventFragment
    }
    saleEvents {
      ...CollectionActivityEventFragment
    }
    totalVolume
    totalProfits
    liquidityRank
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    floorPriceChart
    orderbookDepth
    tokenTransfers {
      ...TokenTransferFragment
    }
    attributes {
      ...AttributeFragment
    }
    orders {
      ...OrderFragment
    }
    sales {
      ...SaleFragment
    }
    profitLeaderboard {
      ...ProfitLeaderFragment
    }
    socialMetricsLastUpdatedAt
    twitterMetrics {
      ...TwitterMetricsFragment
    }
    discordMetrics {
      ...DiscordMetricsFragment
    }
    tweets {
      ...TweetMentionFragment
    }
    followedBy {
      ...FollowedByFragment
    }
    isReportedByUser
    isReported
    reportReason
    isPremiumRequired
  }
}
Variables
{"where": CollectionWhereUniqueInput}
Response
{
  "data": {
    "collection": {
      "id": "xyz789",
      "type": "xyz789",
      "isVerified": false,
      "isRevealed": true,
      "revealsAt": DateTime,
      "revealedAt": DateTime,
      "name": "xyz789",
      "symbol": "xyz789",
      "maxSupply": 123,
      "slug": "abc123",
      "imageUrl": "xyz789",
      "bannerImageUrl": "abc123",
      "description": "abc123",
      "discordUrl": "abc123",
      "contractCreatedTimestamp": DateTime,
      "externalUrl": "abc123",
      "telegramUrl": "xyz789",
      "mediumUsername": "abc123",
      "twitterUsername": "abc123",
      "instagramUsername": "abc123",
      "devFeeBasisPoints": 987,
      "openseaFeeBasisPoints": 987,
      "updatedAt": DateTime,
      "orderbookSyncedAt": DateTime,
      "_count": CollectionCount,
      "charts": CollectionCharts,
      "listingsChart": {},
      "listingsOverTime": {},
      "transactionsChart": {},
      "metrics": CollectionMetrics,
      "previousMetrics": CollectionMetrics,
      "salesFloor": 123.45,
      "previousSalesFloor": 123.45,
      "isRefreshingTokenMetadata": true,
      "totalSupply": 123,
      "mintMetrics": MintingCollectionWithChart,
      "minters": [CollectionMinter],
      "revealProgress": 123.45,
      "isSyncingOrders": true,
      "totalTokensListed": 987,
      "listedFloor": 987.65,
      "topOffer": 987.65,
      "previousListedFloor": 987.65,
      "tokensListedPastDay": 987,
      "tokens": [Token],
      "listingEvents": [CollectionListingEvent],
      "saleEvents": [CollectionActivityEvent],
      "totalVolume": 987.65,
      "totalProfits": 123.45,
      "liquidityRank": LiquidityRank,
      "activity": [ActivityItem],
      "tokensV2": [Token],
      "floorPriceChart": {},
      "orderbookDepth": {},
      "tokenTransfers": [TokenTransfer],
      "attributes": [Attribute],
      "orders": [Order],
      "sales": [Sale],
      "profitLeaderboard": [ProfitLeader],
      "socialMetricsLastUpdatedAt": DateTime,
      "twitterMetrics": [TwitterMetrics],
      "discordMetrics": [DiscordMetrics],
      "tweets": [TweetMention],
      "followedBy": [FollowedBy],
      "isReportedByUser": false,
      "isReported": true,
      "reportReason": ReportReason,
      "isPremiumRequired": true
    }
  }
}

collectionHolders

List of wallets holding tokens from collection
Returns a CollectionHolders

Name Description
collectionId - String!

Example

Query
query collectionHolders($collectionId: String!) {
  collectionHolders(collectionId: $collectionId) {
    wallets {
      ...WalletBalanceFragment
    }
    count
    bluechipHoldersCount
    avgBalance
    singleTokenWalletCount
  }
}
Variables
{
  "collectionId": "Generated Argument example for collectionHolders collectionId"
}
Response
{
  "data": {
    "collectionHolders": {
      "wallets": [WalletBalance],
      "count": 987,
      "bluechipHoldersCount": 123,
      "avgBalance": 987.65,
      "singleTokenWalletCount": 987
    }
  }
}

collections

Example

Query
query collections($where: CollectionWhereInput, $orderBy: [CollectionOrderByWithRelationInput!], $cursor: CollectionWhereUniqueInput, $take: Int, $skip: Int, $distinct: [CollectionScalarFieldEnum!]) {
  collections(where: $where, orderBy: $orderBy, cursor: $cursor, take: $take, skip: $skip, distinct: $distinct) {
    id
    type
    isVerified
    isRevealed
    revealsAt
    revealedAt
    name
    symbol
    maxSupply
    slug
    imageUrl
    bannerImageUrl
    description
    discordUrl
    contractCreatedTimestamp
    externalUrl
    telegramUrl
    mediumUsername
    twitterUsername
    instagramUsername
    devFeeBasisPoints
    openseaFeeBasisPoints
    updatedAt
    orderbookSyncedAt
    _count {
      ...CollectionCountFragment
    }
    charts {
      ...CollectionChartsFragment
    }
    listingsChart
    listingsOverTime
    transactionsChart
    metrics {
      ...CollectionMetricsFragment
    }
    previousMetrics {
      ...CollectionMetricsFragment
    }
    salesFloor
    previousSalesFloor
    isRefreshingTokenMetadata
    totalSupply
    mintMetrics {
      ...MintingCollectionWithChartFragment
    }
    minters {
      ...CollectionMinterFragment
    }
    revealProgress
    isSyncingOrders
    totalTokensListed
    listedFloor
    topOffer
    previousListedFloor
    tokensListedPastDay
    tokens {
      ...TokenFragment
    }
    listingEvents {
      ...CollectionListingEventFragment
    }
    saleEvents {
      ...CollectionActivityEventFragment
    }
    totalVolume
    totalProfits
    liquidityRank
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    floorPriceChart
    orderbookDepth
    tokenTransfers {
      ...TokenTransferFragment
    }
    attributes {
      ...AttributeFragment
    }
    orders {
      ...OrderFragment
    }
    sales {
      ...SaleFragment
    }
    profitLeaderboard {
      ...ProfitLeaderFragment
    }
    socialMetricsLastUpdatedAt
    twitterMetrics {
      ...TwitterMetricsFragment
    }
    discordMetrics {
      ...DiscordMetricsFragment
    }
    tweets {
      ...TweetMentionFragment
    }
    followedBy {
      ...FollowedByFragment
    }
    isReportedByUser
    isReported
    reportReason
    isPremiumRequired
  }
}
Variables
{
  "where": CollectionWhereInput,
  "orderBy": [CollectionOrderByWithRelationInput],
  "cursor": CollectionWhereUniqueInput,
  "take": 123,
  "skip": 123,
  "distinct": [CollectionScalarFieldEnum]
}
Response
{
  "data": {
    "collections": [
      {
        "id": "abc123",
        "type": "xyz789",
        "isVerified": true,
        "isRevealed": false,
        "revealsAt": DateTime,
        "revealedAt": DateTime,
        "name": "abc123",
        "symbol": "xyz789",
        "maxSupply": 123,
        "slug": "xyz789",
        "imageUrl": "xyz789",
        "bannerImageUrl": "abc123",
        "description": "abc123",
        "discordUrl": "abc123",
        "contractCreatedTimestamp": DateTime,
        "externalUrl": "abc123",
        "telegramUrl": "xyz789",
        "mediumUsername": "xyz789",
        "twitterUsername": "xyz789",
        "instagramUsername": "xyz789",
        "devFeeBasisPoints": 123,
        "openseaFeeBasisPoints": 987,
        "updatedAt": DateTime,
        "orderbookSyncedAt": DateTime,
        "_count": CollectionCount,
        "charts": CollectionCharts,
        "listingsChart": {},
        "listingsOverTime": {},
        "transactionsChart": {},
        "metrics": CollectionMetrics,
        "previousMetrics": CollectionMetrics,
        "salesFloor": 123.45,
        "previousSalesFloor": 123.45,
        "isRefreshingTokenMetadata": true,
        "totalSupply": 987,
        "mintMetrics": MintingCollectionWithChart,
        "minters": [CollectionMinter],
        "revealProgress": 123.45,
        "isSyncingOrders": true,
        "totalTokensListed": 123,
        "listedFloor": 987.65,
        "topOffer": 123.45,
        "previousListedFloor": 123.45,
        "tokensListedPastDay": 123,
        "tokens": [Token],
        "listingEvents": [CollectionListingEvent],
        "saleEvents": [CollectionActivityEvent],
        "totalVolume": 123.45,
        "totalProfits": 123.45,
        "liquidityRank": LiquidityRank,
        "activity": [ActivityItem],
        "tokensV2": [Token],
        "floorPriceChart": {},
        "orderbookDepth": {},
        "tokenTransfers": [TokenTransfer],
        "attributes": [Attribute],
        "orders": [Order],
        "sales": [Sale],
        "profitLeaderboard": [ProfitLeader],
        "socialMetricsLastUpdatedAt": DateTime,
        "twitterMetrics": [TwitterMetrics],
        "discordMetrics": [DiscordMetrics],
        "tweets": [TweetMention],
        "followedBy": [FollowedBy],
        "isReportedByUser": false,
        "isReported": false,
        "reportReason": ReportReason,
        "isPremiumRequired": false
      }
    ]
  }
}

collectionWatchlist

Returns a CollectionWatchlist

Name Description
id - Int!

Example

Query
query collectionWatchlist($id: Int!) {
  collectionWatchlist(id: $id) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    marketCapOverTime {
      ...ChartDataFragment
    }
    volumeOverTime {
      ...ChartDataFragment
    }
    volume {
      ...NumberWithChangeFragment
    }
    marketCap {
      ...NumberWithChangeFragment
    }
    uniqueBuyersCount {
      ...NumberWithChangeFragment
    }
    uniqueSellersCount {
      ...NumberWithChangeFragment
    }
    imageUrl
    isMember
    members {
      ...CollectionFragment
    }
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "collectionWatchlist": {
      "id": 987,
      "name": "abc123",
      "slug": "xyz789",
      "isPublic": true,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 987,
      "marketCapOverTime": [ChartData],
      "volumeOverTime": [ChartData],
      "volume": NumberWithChange,
      "marketCap": NumberWithChange,
      "uniqueBuyersCount": NumberWithChange,
      "uniqueSellersCount": NumberWithChange,
      "imageUrl": "xyz789",
      "isMember": false,
      "members": [Collection]
    }
  }
}

collectionWatchlistBySlug

Returns a CollectionWatchlist

Name Description
slug - String!

Example

Query
query collectionWatchlistBySlug($slug: String!) {
  collectionWatchlistBySlug(slug: $slug) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    marketCapOverTime {
      ...ChartDataFragment
    }
    volumeOverTime {
      ...ChartDataFragment
    }
    volume {
      ...NumberWithChangeFragment
    }
    marketCap {
      ...NumberWithChangeFragment
    }
    uniqueBuyersCount {
      ...NumberWithChangeFragment
    }
    uniqueSellersCount {
      ...NumberWithChangeFragment
    }
    imageUrl
    isMember
    members {
      ...CollectionFragment
    }
  }
}
Variables
{
  "slug": "Generated Argument example for collectionWatchlistBySlug slug"
}
Response
{
  "data": {
    "collectionWatchlistBySlug": {
      "id": 123,
      "name": "abc123",
      "slug": "xyz789",
      "isPublic": true,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 123,
      "marketCapOverTime": [ChartData],
      "volumeOverTime": [ChartData],
      "volume": NumberWithChange,
      "marketCap": NumberWithChange,
      "uniqueBuyersCount": NumberWithChange,
      "uniqueSellersCount": NumberWithChange,
      "imageUrl": "xyz789",
      "isMember": true,
      "members": [Collection]
    }
  }
}

collectionWatchlists

Returns [CollectionWatchlist!]!

Name Description
pinnedOnly - Boolean Default = false

Example

Query
query collectionWatchlists($pinnedOnly: Boolean) {
  collectionWatchlists(pinnedOnly: $pinnedOnly) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    marketCapOverTime {
      ...ChartDataFragment
    }
    volumeOverTime {
      ...ChartDataFragment
    }
    volume {
      ...NumberWithChangeFragment
    }
    marketCap {
      ...NumberWithChangeFragment
    }
    uniqueBuyersCount {
      ...NumberWithChangeFragment
    }
    uniqueSellersCount {
      ...NumberWithChangeFragment
    }
    imageUrl
    isMember
    members {
      ...CollectionFragment
    }
  }
}
Variables
{"pinnedOnly": false}
Response
{
  "data": {
    "collectionWatchlists": [
      {
        "id": 987,
        "name": "abc123",
        "slug": "abc123",
        "isPublic": true,
        "createdAt": DateTime,
        "status": WatchlistStatus,
        "isPinned": true,
        "memberCount": 123,
        "marketCapOverTime": [ChartData],
        "volumeOverTime": [ChartData],
        "volume": NumberWithChange,
        "marketCap": NumberWithChange,
        "uniqueBuyersCount": NumberWithChange,
        "uniqueSellersCount": NumberWithChange,
        "imageUrl": "xyz789",
        "isMember": false,
        "members": [Collection]
      }
    ]
  }
}

crateOpens

Returns [CrateOpen!]!

Name Description
drawId - Int
tokenId - String!

Example

Query
query crateOpens($drawId: Int, $tokenId: String!) {
  crateOpens(drawId: $drawId, tokenId: $tokenId) {
    id
    prizes
  }
}
Variables
{
  "drawId": 123,
  "tokenId": "Generated Argument example for crateOpens tokenId"
}
Response
{"data": {"crateOpens": [{"id": 123, "prizes": [Prize]}]}}

favoriteCollections

Returns [CollectionWithStats!]!

Name Description
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
period - String Date range of data. Example: "1h", "1d", "7d". Units supported: minute - m, hour - h, day - d. Default = "1h"
sortBy - String Default = "salesCount"
sortDesc - Boolean Default = true

Example

Query
query favoriteCollections($take: Int, $skip: Int, $period: String, $sortBy: String, $sortDesc: Boolean) {
  favoriteCollections(take: $take, skip: $skip, period: $period, sortBy: $sortBy, sortDesc: $sortDesc) {
    id
    collection {
      ...CollectionFragment
    }
    volume
    salesCount
    avgPrice
    minPrice
    maxPrice
    medianPrice
    previous {
      ...CollectionWithStatsFragment
    }
  }
}
Variables
{
  "take": 50,
  "skip": 0,
  "period": "1h",
  "sortBy": "salesCount",
  "sortDesc": true
}
Response
{
  "data": {
    "favoriteCollections": [
      {
        "id": "xyz789",
        "collection": Collection,
        "volume": 123.45,
        "salesCount": 123,
        "avgPrice": 123.45,
        "minPrice": 987.65,
        "maxPrice": 123.45,
        "medianPrice": 123.45,
        "previous": CollectionWithStats
      }
    ]
  }
}

favoriteWalletActivityFeed

Returns [WalletActivityFeedItem!]

Name Description
types - [String!]
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0

Example

Query
query favoriteWalletActivityFeed($types: [String!], $take: Int, $skip: Int) {
  favoriteWalletActivityFeed(types: $types, take: $take, skip: $skip) {
    wallet {
      ...WalletFragment
    }
    tokenTransfers {
      ...TokenTransferFragment
    }
    collection {
      ...CollectionFragment
    }
    transaction {
      ...TransactionFragment
    }
    type
  }
}
Variables
{
  "types": [
    "Generated Argument example for favoriteWalletActivityFeed types"
  ],
  "take": 50,
  "skip": 0
}
Response
{
  "data": {
    "favoriteWalletActivityFeed": [
      {
        "wallet": Wallet,
        "tokenTransfers": [TokenTransfer],
        "collection": Collection,
        "transaction": Transaction,
        "type": "xyz789"
      }
    ]
  }
}

favoriteWallets

Returns [Wallet!]!

Example

Query
query favoriteWallets {
  favoriteWallets {
    id
    name
    openseaProfile
    updatedAt
    _count {
      ...WalletCountFragment
    }
    displayName
    tokenTransfers {
      ...TokenTransferFragment
    }
    realizedGains {
      ...WalletRealizedGainsByCollectionFragment
    }
    portfolio {
      ...PortfolioItemFragment
    }
    activityChart
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    offers {
      ...OfferFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    collections {
      ...WalletCollectionFragment
    }
    tokens {
      ...TokenFragment
    }
    transfersFrom {
      ...TokenTransferFragment
    }
    transfersTo {
      ...TokenTransferFragment
    }
    transactions {
      ...TransactionFragment
    }
    ordersAsMaker {
      ...OrderFragment
    }
    ordersAsTaker {
      ...OrderFragment
    }
    relatedWallets {
      ...WalletFragment
    }
    relatedWalletsV2 {
      ...WalletRelationFragment
    }
    ethBalance
    lastActivityAt
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    flips {
      ...FlipFragment
    }
    nonce
    userId
    passBalance
    labels {
      ...LabelFragment
    }
  }
}
Response
{
  "data": {
    "favoriteWallets": [
      {
        "id": "abc123",
        "name": "abc123",
        "openseaProfile": {},
        "updatedAt": DateTime,
        "_count": WalletCount,
        "displayName": "abc123",
        "tokenTransfers": [TokenTransfer],
        "realizedGains": [
          WalletRealizedGainsByCollection
        ],
        "portfolio": [PortfolioItem],
        "activityChart": {},
        "totalPortfolioValue": 123.45,
        "totalPortfolioValueByLiquidity": [
          PortfolioValue
        ],
        "analytics": WalletAnalytics,
        "offers": [Offer],
        "profitAndLossOverTime": {},
        "profitSource": {},
        "collectionBalanceAndFloorOverTime": {},
        "positionChanges": [WalletPositionChange],
        "portfolioValueOverTime": {},
        "collections": [WalletCollection],
        "tokens": [Token],
        "transfersFrom": [TokenTransfer],
        "transfersTo": [TokenTransfer],
        "transactions": [Transaction],
        "ordersAsMaker": [Order],
        "ordersAsTaker": [Order],
        "relatedWallets": [Wallet],
        "relatedWalletsV2": [WalletRelation],
        "ethBalance": 123.45,
        "lastActivityAt": DateTime,
        "activity": [ActivityItem],
        "tokensV2": [Token],
        "flips": [Flip],
        "nonce": "xyz789",
        "userId": 123,
        "passBalance": 987,
        "labels": [Label]
      }
    ]
  }
}

flips

Returns [Flip!]!

Name Description
filters - [FilterArg!]
orderDesc - Boolean Default = true
orderBy - String Default = "netProfit"
marketplace - Int
collectionId - String
walletId - String
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0

Example

Query
query flips($filters: [FilterArg!], $orderDesc: Boolean, $orderBy: String, $marketplace: Int, $collectionId: String, $walletId: String, $take: Int, $skip: Int) {
  flips(filters: $filters, orderDesc: $orderDesc, orderBy: $orderBy, marketplace: $marketplace, collectionId: $collectionId, walletId: $walletId, take: $take, skip: $skip) {
    id
    marketplace
    collectionId
    tokenId
    walletId
    soldFor
    soldAt
    saleGasPaid
    rank
    marketplaceFee
    saleRoyalties
    purchaseType
    purchasedFor
    purchasedAt
    heldFor
    purchaseGasPaid
    netProfit
    saleType
    collection {
      ...CollectionFragment
    }
    token {
      ...TokenFragment
    }
    wallet {
      ...WalletFragment
    }
  }
}
Variables
{
  "filters": [FilterArg],
  "orderDesc": true,
  "orderBy": "netProfit",
  "marketplace": 123,
  "collectionId": "Generated Argument example for flips collectionId",
  "walletId": "Generated Argument example for flips walletId",
  "take": 50,
  "skip": 0
}
Response
{
  "data": {
    "flips": [
      {
        "id": "abc123",
        "marketplace": 123,
        "collectionId": "xyz789",
        "tokenId": "abc123",
        "walletId": "xyz789",
        "soldFor": Decimal,
        "soldAt": DateTime,
        "saleGasPaid": Decimal,
        "rank": BigInt,
        "marketplaceFee": Decimal,
        "saleRoyalties": Decimal,
        "purchaseType": "xyz789",
        "purchasedFor": Decimal,
        "purchasedAt": DateTime,
        "heldFor": 987,
        "purchaseGasPaid": Decimal,
        "netProfit": Decimal,
        "saleType": "abc123",
        "collection": Collection,
        "token": Token,
        "wallet": Wallet
      }
    ]
  }
}

floorLifetimePass

Returns a Token

Name Description
unopenedCrate - Boolean Default = false

Example

Query
query floorLifetimePass($unopenedCrate: Boolean) {
  floorLifetimePass(unopenedCrate: $unopenedCrate) {
    id
    collectionAddress
    tokenId
    ownerAddress
    mintTimestamp
    _count {
      ...TokenCountFragment
    }
    collection {
      ...CollectionFragment
    }
    transfers {
      ...TokenTransferFragment
    }
    attributes {
      ...TokenAttributeFragment
    }
    orders {
      ...OrderFragment
    }
    flips {
      ...FlipFragment
    }
    isReported
    rarityRank
    rarityScore
    rarityRankNormalized
    rarityScoreNormalized
    image
    previewImageUrl
    fullImageUrl
    name
    description
    metadata
    tokenUri
    price
    listings {
      ...OrderFragment
    }
    owner {
      ...WalletFragment
    }
    lastSale {
      ...SaleFragment
    }
    activity {
      ...ActivityItemFragment
    }
    activityChart
    eventFeed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{"unopenedCrate": false}
Response
{
  "data": {
    "floorLifetimePass": {
      "id": "xyz789",
      "collectionAddress": "abc123",
      "tokenId": "xyz789",
      "ownerAddress": "abc123",
      "mintTimestamp": DateTime,
      "_count": TokenCount,
      "collection": Collection,
      "transfers": [TokenTransfer],
      "attributes": [TokenAttribute],
      "orders": [Order],
      "flips": [Flip],
      "isReported": true,
      "rarityRank": 987,
      "rarityScore": Decimal,
      "rarityRankNormalized": 123,
      "rarityScoreNormalized": Decimal,
      "image": "xyz789",
      "previewImageUrl": "xyz789",
      "fullImageUrl": "abc123",
      "name": "xyz789",
      "description": "abc123",
      "metadata": {},
      "tokenUri": "abc123",
      "price": 123.45,
      "listings": [Order],
      "owner": Wallet,
      "lastSale": Sale,
      "activity": [ActivityItem],
      "activityChart": {},
      "eventFeed": [EventFeedItem]
    }
  }
}

getBillingInfo

Returns a BillingInfo

Example

Query
query getBillingInfo {
  getBillingInfo {
    id
    name
    addressLine1
    addressLine2
    city
    state
    zipCode
    country
    vatNumber
    createdAt
    updatedAt
    address
  }
}
Response
{
  "data": {
    "getBillingInfo": {
      "id": 987,
      "name": "xyz789",
      "addressLine1": "abc123",
      "addressLine2": "xyz789",
      "city": "xyz789",
      "state": "xyz789",
      "zipCode": "xyz789",
      "country": "xyz789",
      "vatNumber": "abc123",
      "createdAt": DateTime,
      "updatedAt": DateTime,
      "address": "xyz789"
    }
  }
}

holdersOverTime

Number of holders chart data
Returns [ChartData!]

Name Description
period - String Default = "1d"
collectionId - String!

Example

Query
query holdersOverTime($period: String, $collectionId: String!) {
  holdersOverTime(period: $period, collectionId: $collectionId) {
    key
    value
  }
}
Variables
{
  "period": "1d",
  "collectionId": "Generated Argument example for holdersOverTime collectionId"
}
Response
{"data": {"holdersOverTime": [{"key": "xyz789", "value": 123.45}]}}

isFavorite

Returns a Boolean!

Name Description
model - String!
id - String!

Example

Query
query isFavorite($model: String!, $id: String!) {
  isFavorite(model: $model, id: $id)
}
Variables
{
  "model": "Generated Argument example for isFavorite model",
  "id": "Generated Argument example for isFavorite id"
}
Response
{"data": {"isFavorite": false}}

listingAlerts

Returns [Alert!]!

Name Description
tokenId - String!

Example

Query
query listingAlerts($tokenId: String!) {
  listingAlerts(tokenId: $tokenId) {
    id
    userId
    name
    type
    config
    lastCheckedAt
    lastEvaluatedAt
    lastValue
    createdAt
    externalUserId
    status
    _count {
      ...AlertCountFragment
    }
    channels
  }
}
Variables
{
  "tokenId": "Generated Argument example for listingAlerts tokenId"
}
Response
{
  "data": {
    "listingAlerts": [
      {
        "id": 987,
        "userId": "abc123",
        "name": "xyz789",
        "type": AlertType,
        "config": {},
        "lastCheckedAt": DateTime,
        "lastEvaluatedAt": DateTime,
        "lastValue": 987.65,
        "createdAt": DateTime,
        "externalUserId": 987,
        "status": AlertStatus,
        "_count": AlertCount,
        "channels": [123]
      }
    ]
  }
}

looksrareVolume

Looksrare marketplace volume over time
Returns [ChartData!]!

Name Description
period - String!

Example

Query
query looksrareVolume($period: String!) {
  looksrareVolume(period: $period) {
    key
    value
  }
}
Variables
{
  "period": "Generated Argument example for looksrareVolume period"
}
Response
{"data": {"looksrareVolume": [{"key": "xyz789", "value": 123.45}]}}

marketplaceVolume

Looksrare marketplace volume over time
Returns a JSON!

Name Description
excludeWashTrades - Boolean
period - String!

Example

Query
query marketplaceVolume($excludeWashTrades: Boolean, $period: String!) {
  marketplaceVolume(excludeWashTrades: $excludeWashTrades, period: $period)
}
Variables
{
  "excludeWashTrades": true,
  "period": "Generated Argument example for marketplaceVolume period"
}
Response
{"data": {"marketplaceVolume": {}}}

me

Returns a User

Example

Query
query me {
  me {
    id
    role
    premiumExpiresAt
    createdAt
    passBalance
    isDiscordLinked
    isPremium
    wallets {
      ...WalletFragment
    }
    walletId
    wallet {
      ...WalletFragment
    }
    collectionBalance
    isCollectionHidden
  }
}
Response
{
  "data": {
    "me": {
      "id": 987,
      "role": "abc123",
      "premiumExpiresAt": DateTime,
      "createdAt": DateTime,
      "passBalance": 123,
      "isDiscordLinked": false,
      "isPremium": false,
      "wallets": [Wallet],
      "walletId": "abc123",
      "wallet": Wallet,
      "collectionBalance": 987,
      "isCollectionHidden": false
    }
  }
}

meta

Returns a Meta!

Example

Query
query meta {
  meta {
    eth {
      ...SyncStatusFragment
    }
  }
}
Response
{"data": {"meta": {"eth": SyncStatus}}}

mintingCollections

Query collections that minted some tokens in the specified timeframe
Returns [MintingCollection!]!

Name Description
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
period - String Date range of data. Example: "1h", "1d", "7d". Units supported: minute - m, hour - h, day - d. Default = "1h"
sortBy - String Default = "salesCount"
sortDesc - Boolean Default = true

Example

Query
query mintingCollections($take: Int, $skip: Int, $period: String, $sortBy: String, $sortDesc: Boolean) {
  mintingCollections(take: $take, skip: $skip, period: $period, sortBy: $sortBy, sortDesc: $sortDesc) {
    id
    collection {
      ...CollectionFragment
    }
    mintCount
    firstMintTimestamp
    lastMintTimestamp
    uniqueMintersCount
    avgPrice
    avgGas
    mintsPerHour
    totalValue
    isNewMint
  }
}
Variables
{
  "take": 50,
  "skip": 0,
  "period": "1h",
  "sortBy": "salesCount",
  "sortDesc": true
}
Response
{
  "data": {
    "mintingCollections": [
      {
        "id": "abc123",
        "collection": Collection,
        "mintCount": 987,
        "firstMintTimestamp": "abc123",
        "lastMintTimestamp": "xyz789",
        "uniqueMintersCount": 123,
        "avgPrice": 987.65,
        "avgGas": 123.45,
        "mintsPerHour": 987.65,
        "totalValue": 123.45,
        "isNewMint": false
      }
    ]
  }
}

newMintsPerDay

Number of collections first minting over time
Returns [ChartData!]!

Name Description
period - String!

Example

Query
query newMintsPerDay($period: String!) {
  newMintsPerDay(period: $period) {
    key
    value
  }
}
Variables
{
  "period": "Generated Argument example for newMintsPerDay period"
}
Response
{"data": {"newMintsPerDay": [{"key": "xyz789", "value": 987.65}]}}

newVsReturningBuyersOverTime

New vs Returning buyers per day
Returns a JSON!

Name Description
period - String!

Example

Query
query newVsReturningBuyersOverTime($period: String!) {
  newVsReturningBuyersOverTime(period: $period)
}
Variables
{
  "period": "Generated Argument example for newVsReturningBuyersOverTime period"
}
Response
{"data": {"newVsReturningBuyersOverTime": {}}}

notableUser

Returns a NotableUser

Name Description
username - String

Example

Query
query notableUser($username: String) {
  notableUser(username: $username) {
    id
    wallet
    twitterUsername
    twitterId
    lastUpdated
    tweets {
      ...TweetFragment
    }
    follows {
      ...FollowedUserFragment
    }
  }
}
Variables
{
  "username": "Generated Argument example for notableUser username"
}
Response
{
  "data": {
    "notableUser": {
      "id": ID,
      "wallet": "xyz789",
      "twitterUsername": "xyz789",
      "twitterId": "xyz789",
      "lastUpdated": DateTime,
      "tweets": [Tweet],
      "follows": [FollowedUser]
    }
  }
}

openseaVolume

Opensea marketplace volume over time
Returns [ChartData!]!

Name Description
period - String!

Example

Query
query openseaVolume($period: String!) {
  openseaVolume(period: $period) {
    key
    value
  }
}
Variables
{
  "period": "Generated Argument example for openseaVolume period"
}
Response
{"data": {"openseaVolume": [{"key": "abc123", "value": 123.45}]}}

ordersHistogram

Listings chart data
Returns [ListingsHistogramData!]

Name Description
dataGrouping - Float Default = 0.1
collectionId - String!

Example

Query
query ordersHistogram($dataGrouping: Float, $collectionId: String!) {
  ordersHistogram(dataGrouping: $dataGrouping, collectionId: $collectionId) {
    marketplace
    priceBin
    count
    totalValue
    totalCount
  }
}
Variables
{
  "dataGrouping": 0.1,
  "collectionId": "Generated Argument example for ordersHistogram collectionId"
}
Response
{
  "data": {
    "ordersHistogram": [
      {
        "marketplace": 123,
        "priceBin": 123.45,
        "count": 987,
        "totalValue": 123.45,
        "totalCount": 123
      }
    ]
  }
}

pendingOrderFills

Query pending token sale transactions
Returns [PendingFill!]!

Name Description
orderHash - String
tokenId - String!
collectionId - String!

Example

Query
query pendingOrderFills($orderHash: String, $tokenId: String!, $collectionId: String!) {
  pendingOrderFills(orderHash: $orderHash, tokenId: $tokenId, collectionId: $collectionId) {
    id
    orderHash
    firstSeen
    collectionId
    tokenId
    gasPrice
    maxFeePerGas
    maxPriorityFeePerGas
    from
    transactionHash
    status
  }
}
Variables
{
  "orderHash": "Generated Argument example for pendingOrderFills orderHash",
  "tokenId": "Generated Argument example for pendingOrderFills tokenId",
  "collectionId": "Generated Argument example for pendingOrderFills collectionId"
}
Response
{
  "data": {
    "pendingOrderFills": [
      {
        "id": "xyz789",
        "orderHash": "xyz789",
        "firstSeen": DateTime,
        "collectionId": "abc123",
        "tokenId": "abc123",
        "gasPrice": "abc123",
        "maxFeePerGas": "abc123",
        "maxPriorityFeePerGas": "abc123",
        "from": "xyz789",
        "transactionHash": "abc123",
        "status": "xyz789"
      }
    ]
  }
}

profitLeaderboard

Returns [ProfitLeaderboardItem!]!

Name Description
orderDesc - Boolean
orderBy - String
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
filters - [FilterArg!]
period - String

Example

Query
query profitLeaderboard($orderDesc: Boolean, $orderBy: String, $take: Int, $skip: Int, $filters: [FilterArg!], $period: String) {
  profitLeaderboard(orderDesc: $orderDesc, orderBy: $orderBy, take: $take, skip: $skip, filters: $filters, period: $period) {
    id
    totalProfit
    avgProfit
    minProfit
    maxProfit
    totalRoyalties
    tokensFlipped
    collectionsFlipped
    totalGasPaid
    avgPurchasedFor
    totalSpent
    profitableFlips
    purchases {
      ...PurchaseBreakdownFragment
    }
    wallet {
      ...WalletFragment
    }
  }
}
Variables
{
  "orderDesc": false,
  "orderBy": "Generated Argument example for profitLeaderboard orderBy",
  "take": 50,
  "skip": 0,
  "filters": [FilterArg],
  "period": "Generated Argument example for profitLeaderboard period"
}
Response
{
  "data": {
    "profitLeaderboard": [
      {
        "id": "xyz789",
        "totalProfit": 987.65,
        "avgProfit": 123.45,
        "minProfit": 987.65,
        "maxProfit": 123.45,
        "totalRoyalties": 987.65,
        "tokensFlipped": 987.65,
        "collectionsFlipped": 123.45,
        "totalGasPaid": 123.45,
        "avgPurchasedFor": 987.65,
        "totalSpent": 987.65,
        "profitableFlips": 987.65,
        "purchases": [PurchaseBreakdown],
        "wallet": Wallet
      }
    ]
  }
}

revealAlerts

Returns [Alert!]!

Name Description
collectionId - String

Example

Query
query revealAlerts($collectionId: String) {
  revealAlerts(collectionId: $collectionId) {
    id
    userId
    name
    type
    config
    lastCheckedAt
    lastEvaluatedAt
    lastValue
    createdAt
    externalUserId
    status
    _count {
      ...AlertCountFragment
    }
    channels
  }
}
Variables
{
  "collectionId": "Generated Argument example for revealAlerts collectionId"
}
Response
{
  "data": {
    "revealAlerts": [
      {
        "id": 987,
        "userId": "xyz789",
        "name": "xyz789",
        "type": AlertType,
        "config": {},
        "lastCheckedAt": DateTime,
        "lastEvaluatedAt": DateTime,
        "lastValue": 987.65,
        "createdAt": DateTime,
        "externalUserId": 123,
        "status": AlertStatus,
        "_count": AlertCount,
        "channels": [123]
      }
    ]
  }
}

sales

Returns [Sale!]!

Name Description
where - SaleWhereInput
orderBy - [SaleOrderByWithRelationInput!]
cursor - SaleWhereUniqueInput
take - Int
skip - Int
distinct - [SaleScalarFieldEnum!]

Example

Query
query sales($where: SaleWhereInput, $orderBy: [SaleOrderByWithRelationInput!], $cursor: SaleWhereUniqueInput, $take: Int, $skip: Int, $distinct: [SaleScalarFieldEnum!]) {
  sales(where: $where, orderBy: $orderBy, cursor: $cursor, take: $take, skip: $skip, distinct: $distinct) {
    id
    transactionId
    collectionId
    tokenId
    marketplace
    price
    amount
    tokensSold
    seller
    recipient
    buyer
    type
    blockTimestamp
    blockNumber
    marketplaceFee
    royalties
    _count {
      ...SaleCountFragment
    }
    collection {
      ...CollectionFragment
    }
    tokenTransfers {
      ...SaleTokenTransferFragment
    }
    transaction {
      ...TransactionFragment
    }
    flip {
      ...FlipFragment
    }
  }
}
Variables
{
  "where": SaleWhereInput,
  "orderBy": [SaleOrderByWithRelationInput],
  "cursor": SaleWhereUniqueInput,
  "take": 123,
  "skip": 987,
  "distinct": [SaleScalarFieldEnum]
}
Response
{
  "data": {
    "sales": [
      {
        "id": "xyz789",
        "transactionId": "xyz789",
        "collectionId": "xyz789",
        "tokenId": "abc123",
        "marketplace": 123,
        "price": Decimal,
        "amount": Decimal,
        "tokensSold": 123,
        "seller": "abc123",
        "recipient": "xyz789",
        "buyer": "xyz789",
        "type": "abc123",
        "blockTimestamp": DateTime,
        "blockNumber": BigInt,
        "marketplaceFee": Decimal,
        "royalties": Decimal,
        "_count": SaleCount,
        "collection": Collection,
        "tokenTransfers": [SaleTokenTransfer],
        "transaction": Transaction,
        "flip": Flip
      }
    ]
  }
}

searchCollections

Search across indexed collections. Only returns collections that have their metadata pulled in.
Returns [Collection!]!

Name Description
take - Int Default = 50
query - String!

Example

Query
query searchCollections($take: Int, $query: String!) {
  searchCollections(take: $take, query: $query) {
    id
    type
    isVerified
    isRevealed
    revealsAt
    revealedAt
    name
    symbol
    maxSupply
    slug
    imageUrl
    bannerImageUrl
    description
    discordUrl
    contractCreatedTimestamp
    externalUrl
    telegramUrl
    mediumUsername
    twitterUsername
    instagramUsername
    devFeeBasisPoints
    openseaFeeBasisPoints
    updatedAt
    orderbookSyncedAt
    _count {
      ...CollectionCountFragment
    }
    charts {
      ...CollectionChartsFragment
    }
    listingsChart
    listingsOverTime
    transactionsChart
    metrics {
      ...CollectionMetricsFragment
    }
    previousMetrics {
      ...CollectionMetricsFragment
    }
    salesFloor
    previousSalesFloor
    isRefreshingTokenMetadata
    totalSupply
    mintMetrics {
      ...MintingCollectionWithChartFragment
    }
    minters {
      ...CollectionMinterFragment
    }
    revealProgress
    isSyncingOrders
    totalTokensListed
    listedFloor
    topOffer
    previousListedFloor
    tokensListedPastDay
    tokens {
      ...TokenFragment
    }
    listingEvents {
      ...CollectionListingEventFragment
    }
    saleEvents {
      ...CollectionActivityEventFragment
    }
    totalVolume
    totalProfits
    liquidityRank
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    floorPriceChart
    orderbookDepth
    tokenTransfers {
      ...TokenTransferFragment
    }
    attributes {
      ...AttributeFragment
    }
    orders {
      ...OrderFragment
    }
    sales {
      ...SaleFragment
    }
    profitLeaderboard {
      ...ProfitLeaderFragment
    }
    socialMetricsLastUpdatedAt
    twitterMetrics {
      ...TwitterMetricsFragment
    }
    discordMetrics {
      ...DiscordMetricsFragment
    }
    tweets {
      ...TweetMentionFragment
    }
    followedBy {
      ...FollowedByFragment
    }
    isReportedByUser
    isReported
    reportReason
    isPremiumRequired
  }
}
Variables
{
  "take": 50,
  "query": "Generated Argument example for searchCollections query"
}
Response
{
  "data": {
    "searchCollections": [
      {
        "id": "abc123",
        "type": "abc123",
        "isVerified": true,
        "isRevealed": false,
        "revealsAt": DateTime,
        "revealedAt": DateTime,
        "name": "abc123",
        "symbol": "xyz789",
        "maxSupply": 123,
        "slug": "abc123",
        "imageUrl": "xyz789",
        "bannerImageUrl": "xyz789",
        "description": "xyz789",
        "discordUrl": "abc123",
        "contractCreatedTimestamp": DateTime,
        "externalUrl": "xyz789",
        "telegramUrl": "abc123",
        "mediumUsername": "abc123",
        "twitterUsername": "xyz789",
        "instagramUsername": "xyz789",
        "devFeeBasisPoints": 987,
        "openseaFeeBasisPoints": 123,
        "updatedAt": DateTime,
        "orderbookSyncedAt": DateTime,
        "_count": CollectionCount,
        "charts": CollectionCharts,
        "listingsChart": {},
        "listingsOverTime": {},
        "transactionsChart": {},
        "metrics": CollectionMetrics,
        "previousMetrics": CollectionMetrics,
        "salesFloor": 987.65,
        "previousSalesFloor": 987.65,
        "isRefreshingTokenMetadata": false,
        "totalSupply": 987,
        "mintMetrics": MintingCollectionWithChart,
        "minters": [CollectionMinter],
        "revealProgress": 123.45,
        "isSyncingOrders": true,
        "totalTokensListed": 987,
        "listedFloor": 123.45,
        "topOffer": 123.45,
        "previousListedFloor": 987.65,
        "tokensListedPastDay": 987,
        "tokens": [Token],
        "listingEvents": [CollectionListingEvent],
        "saleEvents": [CollectionActivityEvent],
        "totalVolume": 123.45,
        "totalProfits": 123.45,
        "liquidityRank": LiquidityRank,
        "activity": [ActivityItem],
        "tokensV2": [Token],
        "floorPriceChart": {},
        "orderbookDepth": {},
        "tokenTransfers": [TokenTransfer],
        "attributes": [Attribute],
        "orders": [Order],
        "sales": [Sale],
        "profitLeaderboard": [ProfitLeader],
        "socialMetricsLastUpdatedAt": DateTime,
        "twitterMetrics": [TwitterMetrics],
        "discordMetrics": [DiscordMetrics],
        "tweets": [TweetMention],
        "followedBy": [FollowedBy],
        "isReportedByUser": true,
        "isReported": false,
        "reportReason": ReportReason,
        "isPremiumRequired": true
      }
    ]
  }
}

searchWallets

Search across indexed wallets. Only returns collections that have their metadata pulled in.
Returns [Wallet!]!

Name Description
take - Int Default = 50
query - String!

Example

Query
query searchWallets($take: Int, $query: String!) {
  searchWallets(take: $take, query: $query) {
    id
    name
    openseaProfile
    updatedAt
    _count {
      ...WalletCountFragment
    }
    displayName
    tokenTransfers {
      ...TokenTransferFragment
    }
    realizedGains {
      ...WalletRealizedGainsByCollectionFragment
    }
    portfolio {
      ...PortfolioItemFragment
    }
    activityChart
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    offers {
      ...OfferFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    collections {
      ...WalletCollectionFragment
    }
    tokens {
      ...TokenFragment
    }
    transfersFrom {
      ...TokenTransferFragment
    }
    transfersTo {
      ...TokenTransferFragment
    }
    transactions {
      ...TransactionFragment
    }
    ordersAsMaker {
      ...OrderFragment
    }
    ordersAsTaker {
      ...OrderFragment
    }
    relatedWallets {
      ...WalletFragment
    }
    relatedWalletsV2 {
      ...WalletRelationFragment
    }
    ethBalance
    lastActivityAt
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    flips {
      ...FlipFragment
    }
    nonce
    userId
    passBalance
    labels {
      ...LabelFragment
    }
  }
}
Variables
{
  "take": 50,
  "query": "Generated Argument example for searchWallets query"
}
Response
{
  "data": {
    "searchWallets": [
      {
        "id": "abc123",
        "name": "abc123",
        "openseaProfile": {},
        "updatedAt": DateTime,
        "_count": WalletCount,
        "displayName": "xyz789",
        "tokenTransfers": [TokenTransfer],
        "realizedGains": [
          WalletRealizedGainsByCollection
        ],
        "portfolio": [PortfolioItem],
        "activityChart": {},
        "totalPortfolioValue": 987.65,
        "totalPortfolioValueByLiquidity": [
          PortfolioValue
        ],
        "analytics": WalletAnalytics,
        "offers": [Offer],
        "profitAndLossOverTime": {},
        "profitSource": {},
        "collectionBalanceAndFloorOverTime": {},
        "positionChanges": [WalletPositionChange],
        "portfolioValueOverTime": {},
        "collections": [WalletCollection],
        "tokens": [Token],
        "transfersFrom": [TokenTransfer],
        "transfersTo": [TokenTransfer],
        "transactions": [Transaction],
        "ordersAsMaker": [Order],
        "ordersAsTaker": [Order],
        "relatedWallets": [Wallet],
        "relatedWalletsV2": [WalletRelation],
        "ethBalance": 987.65,
        "lastActivityAt": DateTime,
        "activity": [ActivityItem],
        "tokensV2": [Token],
        "flips": [Flip],
        "nonce": "abc123",
        "userId": 987,
        "passBalance": 123,
        "labels": [Label]
      }
    ]
  }
}

token

Returns a Token

Name Description
where - TokenWhereUniqueInput!

Example

Query
query token($where: TokenWhereUniqueInput!) {
  token(where: $where) {
    id
    collectionAddress
    tokenId
    ownerAddress
    mintTimestamp
    _count {
      ...TokenCountFragment
    }
    collection {
      ...CollectionFragment
    }
    transfers {
      ...TokenTransferFragment
    }
    attributes {
      ...TokenAttributeFragment
    }
    orders {
      ...OrderFragment
    }
    flips {
      ...FlipFragment
    }
    isReported
    rarityRank
    rarityScore
    rarityRankNormalized
    rarityScoreNormalized
    image
    previewImageUrl
    fullImageUrl
    name
    description
    metadata
    tokenUri
    price
    listings {
      ...OrderFragment
    }
    owner {
      ...WalletFragment
    }
    lastSale {
      ...SaleFragment
    }
    activity {
      ...ActivityItemFragment
    }
    activityChart
    eventFeed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{"where": TokenWhereUniqueInput}
Response
{
  "data": {
    "token": {
      "id": "xyz789",
      "collectionAddress": "xyz789",
      "tokenId": "xyz789",
      "ownerAddress": "abc123",
      "mintTimestamp": DateTime,
      "_count": TokenCount,
      "collection": Collection,
      "transfers": [TokenTransfer],
      "attributes": [TokenAttribute],
      "orders": [Order],
      "flips": [Flip],
      "isReported": false,
      "rarityRank": 987,
      "rarityScore": Decimal,
      "rarityRankNormalized": 987,
      "rarityScoreNormalized": Decimal,
      "image": "abc123",
      "previewImageUrl": "xyz789",
      "fullImageUrl": "abc123",
      "name": "abc123",
      "description": "abc123",
      "metadata": {},
      "tokenUri": "xyz789",
      "price": 987.65,
      "listings": [Order],
      "owner": Wallet,
      "lastSale": Sale,
      "activity": [ActivityItem],
      "activityChart": {},
      "eventFeed": [EventFeedItem]
    }
  }
}

tokens

Returns [Token!]!

Name Description
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
ids - [String!] Filter tokens by token ID. Default = []

Example

Query
query tokens($take: Int, $skip: Int, $ids: [String!]) {
  tokens(take: $take, skip: $skip, ids: $ids) {
    id
    collectionAddress
    tokenId
    ownerAddress
    mintTimestamp
    _count {
      ...TokenCountFragment
    }
    collection {
      ...CollectionFragment
    }
    transfers {
      ...TokenTransferFragment
    }
    attributes {
      ...TokenAttributeFragment
    }
    orders {
      ...OrderFragment
    }
    flips {
      ...FlipFragment
    }
    isReported
    rarityRank
    rarityScore
    rarityRankNormalized
    rarityScoreNormalized
    image
    previewImageUrl
    fullImageUrl
    name
    description
    metadata
    tokenUri
    price
    listings {
      ...OrderFragment
    }
    owner {
      ...WalletFragment
    }
    lastSale {
      ...SaleFragment
    }
    activity {
      ...ActivityItemFragment
    }
    activityChart
    eventFeed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{"take": 50, "skip": 0, "ids": [[]]}
Response
{
  "data": {
    "tokens": [
      {
        "id": "xyz789",
        "collectionAddress": "xyz789",
        "tokenId": "xyz789",
        "ownerAddress": "xyz789",
        "mintTimestamp": DateTime,
        "_count": TokenCount,
        "collection": Collection,
        "transfers": [TokenTransfer],
        "attributes": [TokenAttribute],
        "orders": [Order],
        "flips": [Flip],
        "isReported": false,
        "rarityRank": 987,
        "rarityScore": Decimal,
        "rarityRankNormalized": 987,
        "rarityScoreNormalized": Decimal,
        "image": "abc123",
        "previewImageUrl": "abc123",
        "fullImageUrl": "abc123",
        "name": "xyz789",
        "description": "xyz789",
        "metadata": {},
        "tokenUri": "xyz789",
        "price": 123.45,
        "listings": [Order],
        "owner": Wallet,
        "lastSale": Sale,
        "activity": [ActivityItem],
        "activityChart": {},
        "eventFeed": [EventFeedItem]
      }
    ]
  }
}

tokenTransfersRoot

Query token transfers with filters.
Returns [TokenTransferRoot!]!

Name Description
walletId - String Token transfers for a wallet
collectionId - String Token transfers for a collection
orderBy - TokenTransferOrderByWithRelationInput Order by
filters - TokenTransfersRootFilters Token transfers filters
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0

Example

Query
query tokenTransfersRoot($walletId: String, $collectionId: String, $orderBy: TokenTransferOrderByWithRelationInput, $filters: TokenTransfersRootFilters, $take: Int, $skip: Int) {
  tokenTransfersRoot(walletId: $walletId, collectionId: $collectionId, orderBy: $orderBy, filters: $filters, take: $take, skip: $skip) {
    id
    transactionId
    collectionAddress
    tokenId
    fromAddress
    toAddress
    timestamp
    value
    _count {
      ...TokenTransferCountFragment
    }
    transaction {
      ...TransactionFragment
    }
    token {
      ...TokenFragment
    }
    from {
      ...WalletFragment
    }
    to {
      ...WalletFragment
    }
    sales {
      ...SaleTokenTransferFragment
    }
    collection {
      ...CollectionFragment
    }
    sale {
      ...SaleFragment
    }
    type
    transactionValue
    gasPrice
  }
}
Variables
{
  "walletId": "Generated Argument example for tokenTransfersRoot walletId",
  "collectionId": "Generated Argument example for tokenTransfersRoot collectionId",
  "orderBy": TokenTransferOrderByWithRelationInput,
  "filters": TokenTransfersRootFilters,
  "take": 50,
  "skip": 0
}
Response
{
  "data": {
    "tokenTransfersRoot": [
      {
        "id": "abc123",
        "transactionId": "abc123",
        "collectionAddress": "abc123",
        "tokenId": "xyz789",
        "fromAddress": "xyz789",
        "toAddress": "abc123",
        "timestamp": DateTime,
        "value": Decimal,
        "_count": TokenTransferCount,
        "transaction": Transaction,
        "token": Token,
        "from": Wallet,
        "to": Wallet,
        "sales": [SaleTokenTransfer],
        "collection": Collection,
        "sale": Sale,
        "type": "abc123",
        "transactionValue": 987.65,
        "gasPrice": 987.65
      }
    ]
  }
}

topCollectionsIndex

NFT Index created by Compass that tracks 5 top collections
Returns a JSON!

Name Description
period - String!

Example

Query
query topCollectionsIndex($period: String!) {
  topCollectionsIndex(period: $period)
}
Variables
{
  "period": "Generated Argument example for topCollectionsIndex period"
}
Response
{"data": {"topCollectionsIndex": {}}}

totalValueMintedOverTime

Total ETH spent on minting NFTs per day
Returns a JSON!

Name Description
period - String!

Example

Query
query totalValueMintedOverTime($period: String!) {
  totalValueMintedOverTime(period: $period)
}
Variables
{
  "period": "Generated Argument example for totalValueMintedOverTime period"
}
Response
{"data": {"totalValueMintedOverTime": {}}}

trendingCollections

Query collections with sales activity in the specified timeframe
Returns [CollectionWithStats!]!

Name Description
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
period - String Date range of data. Example: "1h", "1d", "7d". Units supported: minute - m, hour - h, day - d. Default = "1h"
sortBy - String Default = "salesCount"
sortDesc - Boolean Default = true

Example

Query
query trendingCollections($take: Int, $skip: Int, $period: String, $sortBy: String, $sortDesc: Boolean) {
  trendingCollections(take: $take, skip: $skip, period: $period, sortBy: $sortBy, sortDesc: $sortDesc) {
    id
    collection {
      ...CollectionFragment
    }
    volume
    salesCount
    avgPrice
    minPrice
    maxPrice
    medianPrice
    previous {
      ...CollectionWithStatsFragment
    }
  }
}
Variables
{
  "take": 50,
  "skip": 0,
  "period": "1h",
  "sortBy": "salesCount",
  "sortDesc": true
}
Response
{
  "data": {
    "trendingCollections": [
      {
        "id": "xyz789",
        "collection": Collection,
        "volume": 987.65,
        "salesCount": 123,
        "avgPrice": 987.65,
        "minPrice": 987.65,
        "maxPrice": 123.45,
        "medianPrice": 987.65,
        "previous": CollectionWithStats
      }
    ]
  }
}

uniqueBuyersAndSellersOverTime

Unique Buyers and Sellers per day
Returns a JSON!

Name Description
period - String!

Example

Query
query uniqueBuyersAndSellersOverTime($period: String!) {
  uniqueBuyersAndSellersOverTime(period: $period)
}
Variables
{
  "period": "Generated Argument example for uniqueBuyersAndSellersOverTime period"
}
Response
{"data": {"uniqueBuyersAndSellersOverTime": {}}}

userEventsFeed

Get latest events for your favorite wallets and collections
Returns [EventFeedItem!]!

Name Description
take - Int Default = 20
skip - Int Default = 0
types - [EventType!]

Example

Query
query userEventsFeed($take: Int, $skip: Int, $types: [EventType!]) {
  userEventsFeed(take: $take, skip: $skip, types: $types) {
    id
    type
    timestamp
    value
    wallet {
      ...WalletFragment
    }
    collection {
      ...CollectionFragment
    }
    transaction {
      ...TransactionFragment
    }
    tokenCount
    events
  }
}
Variables
{"take": 20, "skip": 0, "types": [EventType]}
Response
{
  "data": {
    "userEventsFeed": [
      {
        "id": "xyz789",
        "type": EventType,
        "timestamp": DateTime,
        "value": 987.65,
        "wallet": Wallet,
        "collection": Collection,
        "transaction": Transaction,
        "tokenCount": 987,
        "events": [Event]
      }
    ]
  }
}

userWalletsEventsFeed

Get latest events for your own wallets
Returns [EventFeedItem!]!

Name Description
take - Int Default = 20
skip - Int Default = 0
types - [EventType!]

Example

Query
query userWalletsEventsFeed($take: Int, $skip: Int, $types: [EventType!]) {
  userWalletsEventsFeed(take: $take, skip: $skip, types: $types) {
    id
    type
    timestamp
    value
    wallet {
      ...WalletFragment
    }
    collection {
      ...CollectionFragment
    }
    transaction {
      ...TransactionFragment
    }
    tokenCount
    events
  }
}
Variables
{"take": 20, "skip": 0, "types": [EventType]}
Response
{
  "data": {
    "userWalletsEventsFeed": [
      {
        "id": "abc123",
        "type": EventType,
        "timestamp": DateTime,
        "value": 987.65,
        "wallet": Wallet,
        "collection": Collection,
        "transaction": Transaction,
        "tokenCount": 987,
        "events": [Event]
      }
    ]
  }
}

wallet

Returns a Wallet

Name Description
where - WalletWhereUniqueInput!

Example

Query
query wallet($where: WalletWhereUniqueInput!) {
  wallet(where: $where) {
    id
    name
    openseaProfile
    updatedAt
    _count {
      ...WalletCountFragment
    }
    displayName
    tokenTransfers {
      ...TokenTransferFragment
    }
    realizedGains {
      ...WalletRealizedGainsByCollectionFragment
    }
    portfolio {
      ...PortfolioItemFragment
    }
    activityChart
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    offers {
      ...OfferFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    collections {
      ...WalletCollectionFragment
    }
    tokens {
      ...TokenFragment
    }
    transfersFrom {
      ...TokenTransferFragment
    }
    transfersTo {
      ...TokenTransferFragment
    }
    transactions {
      ...TransactionFragment
    }
    ordersAsMaker {
      ...OrderFragment
    }
    ordersAsTaker {
      ...OrderFragment
    }
    relatedWallets {
      ...WalletFragment
    }
    relatedWalletsV2 {
      ...WalletRelationFragment
    }
    ethBalance
    lastActivityAt
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    flips {
      ...FlipFragment
    }
    nonce
    userId
    passBalance
    labels {
      ...LabelFragment
    }
  }
}
Variables
{"where": WalletWhereUniqueInput}
Response
{
  "data": {
    "wallet": {
      "id": "abc123",
      "name": "xyz789",
      "openseaProfile": {},
      "updatedAt": DateTime,
      "_count": WalletCount,
      "displayName": "abc123",
      "tokenTransfers": [TokenTransfer],
      "realizedGains": [WalletRealizedGainsByCollection],
      "portfolio": [PortfolioItem],
      "activityChart": {},
      "totalPortfolioValue": 123.45,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "offers": [Offer],
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "collections": [WalletCollection],
      "tokens": [Token],
      "transfersFrom": [TokenTransfer],
      "transfersTo": [TokenTransfer],
      "transactions": [Transaction],
      "ordersAsMaker": [Order],
      "ordersAsTaker": [Order],
      "relatedWallets": [Wallet],
      "relatedWalletsV2": [WalletRelation],
      "ethBalance": 987.65,
      "lastActivityAt": DateTime,
      "activity": [ActivityItem],
      "tokensV2": [Token],
      "flips": [Flip],
      "nonce": "xyz789",
      "userId": 123,
      "passBalance": 987,
      "labels": [Label]
    }
  }
}

walletByEns

Query wallets by ENS name
Returns a Wallet

Name Description
name - String!

Example

Query
query walletByEns($name: String!) {
  walletByEns(name: $name) {
    id
    name
    openseaProfile
    updatedAt
    _count {
      ...WalletCountFragment
    }
    displayName
    tokenTransfers {
      ...TokenTransferFragment
    }
    realizedGains {
      ...WalletRealizedGainsByCollectionFragment
    }
    portfolio {
      ...PortfolioItemFragment
    }
    activityChart
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    offers {
      ...OfferFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    collections {
      ...WalletCollectionFragment
    }
    tokens {
      ...TokenFragment
    }
    transfersFrom {
      ...TokenTransferFragment
    }
    transfersTo {
      ...TokenTransferFragment
    }
    transactions {
      ...TransactionFragment
    }
    ordersAsMaker {
      ...OrderFragment
    }
    ordersAsTaker {
      ...OrderFragment
    }
    relatedWallets {
      ...WalletFragment
    }
    relatedWalletsV2 {
      ...WalletRelationFragment
    }
    ethBalance
    lastActivityAt
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    flips {
      ...FlipFragment
    }
    nonce
    userId
    passBalance
    labels {
      ...LabelFragment
    }
  }
}
Variables
{
  "name": "Generated Argument example for walletByEns name"
}
Response
{
  "data": {
    "walletByEns": {
      "id": "abc123",
      "name": "abc123",
      "openseaProfile": {},
      "updatedAt": DateTime,
      "_count": WalletCount,
      "displayName": "xyz789",
      "tokenTransfers": [TokenTransfer],
      "realizedGains": [WalletRealizedGainsByCollection],
      "portfolio": [PortfolioItem],
      "activityChart": {},
      "totalPortfolioValue": 123.45,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "offers": [Offer],
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "collections": [WalletCollection],
      "tokens": [Token],
      "transfersFrom": [TokenTransfer],
      "transfersTo": [TokenTransfer],
      "transactions": [Transaction],
      "ordersAsMaker": [Order],
      "ordersAsTaker": [Order],
      "relatedWallets": [Wallet],
      "relatedWalletsV2": [WalletRelation],
      "ethBalance": 123.45,
      "lastActivityAt": DateTime,
      "activity": [ActivityItem],
      "tokensV2": [Token],
      "flips": [Flip],
      "nonce": "abc123",
      "userId": 123,
      "passBalance": 123,
      "labels": [Label]
    }
  }
}

walletCollections

All owned collections of account. Includes everything from all linked wallets.
Returns [CollectionWithStats!]!

Name Description
includeHidden - Boolean Default = false
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
period - String Date range of data. Example: "1h", "1d", "7d". Units supported: minute - m, hour - h, day - d. Default = "1h"
sortBy - String Default = "salesCount"
sortDesc - Boolean Default = true

Example

Query
query walletCollections($includeHidden: Boolean, $take: Int, $skip: Int, $period: String, $sortBy: String, $sortDesc: Boolean) {
  walletCollections(includeHidden: $includeHidden, take: $take, skip: $skip, period: $period, sortBy: $sortBy, sortDesc: $sortDesc) {
    id
    collection {
      ...CollectionFragment
    }
    volume
    salesCount
    avgPrice
    minPrice
    maxPrice
    medianPrice
    previous {
      ...CollectionWithStatsFragment
    }
  }
}
Variables
{
  "includeHidden": false,
  "take": 50,
  "skip": 0,
  "period": "1h",
  "sortBy": "salesCount",
  "sortDesc": true
}
Response
{
  "data": {
    "walletCollections": [
      {
        "id": "xyz789",
        "collection": Collection,
        "volume": 123.45,
        "salesCount": 123,
        "avgPrice": 123.45,
        "minPrice": 123.45,
        "maxPrice": 123.45,
        "medianPrice": 987.65,
        "previous": CollectionWithStats
      }
    ]
  }
}

walletEventsFeed

Get latest events for your favorite wallets and collections
Returns [EventFeedItem!]!

Name Description
walletId - String!
take - Int Default = 20
skip - Int Default = 0
types - [EventType!]

Example

Query
query walletEventsFeed($walletId: String!, $take: Int, $skip: Int, $types: [EventType!]) {
  walletEventsFeed(walletId: $walletId, take: $take, skip: $skip, types: $types) {
    id
    type
    timestamp
    value
    wallet {
      ...WalletFragment
    }
    collection {
      ...CollectionFragment
    }
    transaction {
      ...TransactionFragment
    }
    tokenCount
    events
  }
}
Variables
{
  "walletId": "Generated Argument example for walletEventsFeed walletId",
  "take": 20,
  "skip": 0,
  "types": [EventType]
}
Response
{
  "data": {
    "walletEventsFeed": [
      {
        "id": "abc123",
        "type": EventType,
        "timestamp": DateTime,
        "value": 987.65,
        "wallet": Wallet,
        "collection": Collection,
        "transaction": Transaction,
        "tokenCount": 987,
        "events": [Event]
      }
    ]
  }
}

wallets

Returns [Wallet!]!

Name Description
where - WalletWhereInput
orderBy - [WalletOrderByWithRelationInput!]
cursor - WalletWhereUniqueInput
take - Int
skip - Int
distinct - [WalletScalarFieldEnum!]

Example

Query
query wallets($where: WalletWhereInput, $orderBy: [WalletOrderByWithRelationInput!], $cursor: WalletWhereUniqueInput, $take: Int, $skip: Int, $distinct: [WalletScalarFieldEnum!]) {
  wallets(where: $where, orderBy: $orderBy, cursor: $cursor, take: $take, skip: $skip, distinct: $distinct) {
    id
    name
    openseaProfile
    updatedAt
    _count {
      ...WalletCountFragment
    }
    displayName
    tokenTransfers {
      ...TokenTransferFragment
    }
    realizedGains {
      ...WalletRealizedGainsByCollectionFragment
    }
    portfolio {
      ...PortfolioItemFragment
    }
    activityChart
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    offers {
      ...OfferFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    collections {
      ...WalletCollectionFragment
    }
    tokens {
      ...TokenFragment
    }
    transfersFrom {
      ...TokenTransferFragment
    }
    transfersTo {
      ...TokenTransferFragment
    }
    transactions {
      ...TransactionFragment
    }
    ordersAsMaker {
      ...OrderFragment
    }
    ordersAsTaker {
      ...OrderFragment
    }
    relatedWallets {
      ...WalletFragment
    }
    relatedWalletsV2 {
      ...WalletRelationFragment
    }
    ethBalance
    lastActivityAt
    activity {
      ...ActivityItemFragment
    }
    tokensV2 {
      ...TokenFragment
    }
    flips {
      ...FlipFragment
    }
    nonce
    userId
    passBalance
    labels {
      ...LabelFragment
    }
  }
}
Variables
{
  "where": WalletWhereInput,
  "orderBy": [WalletOrderByWithRelationInput],
  "cursor": WalletWhereUniqueInput,
  "take": 987,
  "skip": 123,
  "distinct": [WalletScalarFieldEnum]
}
Response
{
  "data": {
    "wallets": [
      {
        "id": "abc123",
        "name": "xyz789",
        "openseaProfile": {},
        "updatedAt": DateTime,
        "_count": WalletCount,
        "displayName": "xyz789",
        "tokenTransfers": [TokenTransfer],
        "realizedGains": [
          WalletRealizedGainsByCollection
        ],
        "portfolio": [PortfolioItem],
        "activityChart": {},
        "totalPortfolioValue": 123.45,
        "totalPortfolioValueByLiquidity": [
          PortfolioValue
        ],
        "analytics": WalletAnalytics,
        "offers": [Offer],
        "profitAndLossOverTime": {},
        "profitSource": {},
        "collectionBalanceAndFloorOverTime": {},
        "positionChanges": [WalletPositionChange],
        "portfolioValueOverTime": {},
        "collections": [WalletCollection],
        "tokens": [Token],
        "transfersFrom": [TokenTransfer],
        "transfersTo": [TokenTransfer],
        "transactions": [Transaction],
        "ordersAsMaker": [Order],
        "ordersAsTaker": [Order],
        "relatedWallets": [Wallet],
        "relatedWalletsV2": [WalletRelation],
        "ethBalance": 987.65,
        "lastActivityAt": DateTime,
        "activity": [ActivityItem],
        "tokensV2": [Token],
        "flips": [Flip],
        "nonce": "xyz789",
        "userId": 123,
        "passBalance": 987,
        "labels": [Label]
      }
    ]
  }
}

walletWatchlist

Returns a WalletWatchlist

Name Description
id - Int!

Example

Query
query walletWatchlist($id: Int!) {
  walletWatchlist(id: $id) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "walletWatchlist": {
      "id": 987,
      "name": "abc123",
      "slug": "abc123",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 987,
      "isMember": false,
      "members": [Wallet],
      "flips": [Flip],
      "totalPortfolioValue": 987.65,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "activityChart": {},
      "tokens": [Token],
      "activity": [ActivityItem],
      "collections": [WalletCollection],
      "relatedWallets": [WalletRelation],
      "feed": [EventFeedItem]
    }
  }
}

walletWatchlistBySlug

Returns a WalletWatchlist

Name Description
slug - String!

Example

Query
query walletWatchlistBySlug($slug: String!) {
  walletWatchlistBySlug(slug: $slug) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{
  "slug": "Generated Argument example for walletWatchlistBySlug slug"
}
Response
{
  "data": {
    "walletWatchlistBySlug": {
      "id": 123,
      "name": "abc123",
      "slug": "abc123",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": true,
      "memberCount": 987,
      "isMember": true,
      "members": [Wallet],
      "flips": [Flip],
      "totalPortfolioValue": 987.65,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "activityChart": {},
      "tokens": [Token],
      "activity": [ActivityItem],
      "collections": [WalletCollection],
      "relatedWallets": [WalletRelation],
      "feed": [EventFeedItem]
    }
  }
}

walletWatchlists

Returns [WalletWatchlist!]!

Name Description
pinnedOnly - Boolean Default = false

Example

Query
query walletWatchlists($pinnedOnly: Boolean) {
  walletWatchlists(pinnedOnly: $pinnedOnly) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{"pinnedOnly": false}
Response
{
  "data": {
    "walletWatchlists": [
      {
        "id": 123,
        "name": "abc123",
        "slug": "abc123",
        "isPublic": true,
        "createdAt": DateTime,
        "status": WatchlistStatus,
        "isPinned": false,
        "memberCount": 987,
        "isMember": true,
        "members": [Wallet],
        "flips": [Flip],
        "totalPortfolioValue": 123.45,
        "totalPortfolioValueByLiquidity": [
          PortfolioValue
        ],
        "analytics": WalletAnalytics,
        "profitAndLossOverTime": {},
        "profitSource": {},
        "collectionBalanceAndFloorOverTime": {},
        "positionChanges": [WalletPositionChange],
        "portfolioValueOverTime": {},
        "activityChart": {},
        "tokens": [Token],
        "activity": [ActivityItem],
        "collections": [WalletCollection],
        "relatedWallets": [WalletRelation],
        "feed": [EventFeedItem]
      }
    ]
  }
}

watchlistCollectionsSales

Bluechip collection metrics
Returns [CollectionWithStats!]!

Name Description
watchlistId - Int!
take - Int Number of entities to return in response (used for pagination). Default = 50
skip - Int Number of entities to skip (used for pagination). Default = 0
period - String Date range of data. Example: "1h", "1d", "7d". Units supported: minute - m, hour - h, day - d. Default = "1h"
sortBy - String Default = "salesCount"
sortDesc - Boolean Default = true

Example

Query
query watchlistCollectionsSales($watchlistId: Int!, $take: Int, $skip: Int, $period: String, $sortBy: String, $sortDesc: Boolean) {
  watchlistCollectionsSales(watchlistId: $watchlistId, take: $take, skip: $skip, period: $period, sortBy: $sortBy, sortDesc: $sortDesc) {
    id
    collection {
      ...CollectionFragment
    }
    volume
    salesCount
    avgPrice
    minPrice
    maxPrice
    medianPrice
    previous {
      ...CollectionWithStatsFragment
    }
  }
}
Variables
{
  "watchlistId": 987,
  "take": 50,
  "skip": 0,
  "period": "1h",
  "sortBy": "salesCount",
  "sortDesc": true
}
Response
{
  "data": {
    "watchlistCollectionsSales": [
      {
        "id": "xyz789",
        "collection": Collection,
        "volume": 987.65,
        "salesCount": 987,
        "avgPrice": 123.45,
        "minPrice": 123.45,
        "maxPrice": 987.65,
        "medianPrice": 123.45,
        "previous": CollectionWithStats
      }
    ]
  }
}

x2y2Volume

X2Y2 marketplace volume over time
Returns [ChartData!]!

Name Description
period - String!

Example

Query
query x2y2Volume($period: String!) {
  x2y2Volume(period: $period) {
    key
    value
  }
}
Variables
{
  "period": "Generated Argument example for x2y2Volume period"
}
Response
{"data": {"x2y2Volume": [{"key": "abc123", "value": 987.65}]}}

Mutations

addCollectionsToWatchlist

Returns a CollectionWatchlist!

Name Description
collectionIds - [String!]!
watchlistId - Int!

Example

Query
mutation addCollectionsToWatchlist($collectionIds: [String!]!, $watchlistId: Int!) {
  addCollectionsToWatchlist(collectionIds: $collectionIds, watchlistId: $watchlistId) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    marketCapOverTime {
      ...ChartDataFragment
    }
    volumeOverTime {
      ...ChartDataFragment
    }
    volume {
      ...NumberWithChangeFragment
    }
    marketCap {
      ...NumberWithChangeFragment
    }
    uniqueBuyersCount {
      ...NumberWithChangeFragment
    }
    uniqueSellersCount {
      ...NumberWithChangeFragment
    }
    imageUrl
    isMember
    members {
      ...CollectionFragment
    }
  }
}
Variables
{
  "collectionIds": [
    "Generated Argument example for addCollectionsToWatchlist collectionIds"
  ],
  "watchlistId": 123
}
Response
{
  "data": {
    "addCollectionsToWatchlist": {
      "id": 987,
      "name": "xyz789",
      "slug": "xyz789",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 987,
      "marketCapOverTime": [ChartData],
      "volumeOverTime": [ChartData],
      "volume": NumberWithChange,
      "marketCap": NumberWithChange,
      "uniqueBuyersCount": NumberWithChange,
      "uniqueSellersCount": NumberWithChange,
      "imageUrl": "xyz789",
      "isMember": true,
      "members": [Collection]
    }
  }
}

addWalletsToWatchlist

Returns a WalletWatchlist!

Name Description
walletIds - [String!]!
watchlistId - Int!

Example

Query
mutation addWalletsToWatchlist($walletIds: [String!]!, $watchlistId: Int!) {
  addWalletsToWatchlist(walletIds: $walletIds, watchlistId: $watchlistId) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{
  "walletIds": [
    "Generated Argument example for addWalletsToWatchlist walletIds"
  ],
  "watchlistId": 123
}
Response
{
  "data": {
    "addWalletsToWatchlist": {
      "id": 987,
      "name": "abc123",
      "slug": "abc123",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 987,
      "isMember": true,
      "members": [Wallet],
      "flips": [Flip],
      "totalPortfolioValue": 123.45,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "activityChart": {},
      "tokens": [Token],
      "activity": [ActivityItem],
      "collections": [WalletCollection],
      "relatedWallets": [WalletRelation],
      "feed": [EventFeedItem]
    }
  }
}

claimCratePrize

Returns a Boolean!

Name Description
walletId - String
prizeId - Int!

Example

Query
mutation claimCratePrize($walletId: String, $prizeId: Int!) {
  claimCratePrize(walletId: $walletId, prizeId: $prizeId)
}
Variables
{
  "walletId": "Generated Argument example for claimCratePrize walletId",
  "prizeId": 987
}
Response
{"data": {"claimCratePrize": false}}

createAlert

Returns an Alert!

Name Description
data - CreateAlertInput!

Example

Query
mutation createAlert($data: CreateAlertInput!) {
  createAlert(data: $data) {
    id
    userId
    name
    type
    config
    lastCheckedAt
    lastEvaluatedAt
    lastValue
    createdAt
    externalUserId
    status
    _count {
      ...AlertCountFragment
    }
    channels
  }
}
Variables
{"data": CreateAlertInput}
Response
{
  "data": {
    "createAlert": {
      "id": 987,
      "userId": "abc123",
      "name": "xyz789",
      "type": AlertType,
      "config": {},
      "lastCheckedAt": DateTime,
      "lastEvaluatedAt": DateTime,
      "lastValue": 123.45,
      "createdAt": DateTime,
      "externalUserId": 123,
      "status": AlertStatus,
      "_count": AlertCount,
      "channels": [123]
    }
  }
}

createBillingInfo

Returns a BillingInfo!

Name Description
billingInfoData - BillingInfoBaseInput!

Example

Query
mutation createBillingInfo($billingInfoData: BillingInfoBaseInput!) {
  createBillingInfo(billingInfoData: $billingInfoData) {
    id
    name
    addressLine1
    addressLine2
    city
    state
    zipCode
    country
    vatNumber
    createdAt
    updatedAt
    address
  }
}
Variables
{"billingInfoData": BillingInfoBaseInput}
Response
{
  "data": {
    "createBillingInfo": {
      "id": 123,
      "name": "xyz789",
      "addressLine1": "xyz789",
      "addressLine2": "xyz789",
      "city": "xyz789",
      "state": "abc123",
      "zipCode": "abc123",
      "country": "xyz789",
      "vatNumber": "xyz789",
      "createdAt": DateTime,
      "updatedAt": DateTime,
      "address": "xyz789"
    }
  }
}

createChannel

Returns a Channel!

Name Description
data - ChannelCreateInput!

Example

Query
mutation createChannel($data: ChannelCreateInput!) {
  createChannel(data: $data) {
    id
    userId
    name
    type
    config
    status
    externalUserId
    _count {
      ...ChannelCountFragment
    }
  }
}
Variables
{"data": ChannelCreateInput}
Response
{
  "data": {
    "createChannel": {
      "id": 123,
      "userId": "xyz789",
      "name": "xyz789",
      "type": ChannelType,
      "config": {},
      "status": ChannelStatus,
      "externalUserId": 987,
      "_count": ChannelCount
    }
  }
}

createCollectionWatchlist

Returns a CollectionWatchlist!

Name Description
name - String!

Example

Query
mutation createCollectionWatchlist($name: String!) {
  createCollectionWatchlist(name: $name) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    marketCapOverTime {
      ...ChartDataFragment
    }
    volumeOverTime {
      ...ChartDataFragment
    }
    volume {
      ...NumberWithChangeFragment
    }
    marketCap {
      ...NumberWithChangeFragment
    }
    uniqueBuyersCount {
      ...NumberWithChangeFragment
    }
    uniqueSellersCount {
      ...NumberWithChangeFragment
    }
    imageUrl
    isMember
    members {
      ...CollectionFragment
    }
  }
}
Variables
{
  "name": "Generated Argument example for createCollectionWatchlist name"
}
Response
{
  "data": {
    "createCollectionWatchlist": {
      "id": 123,
      "name": "abc123",
      "slug": "xyz789",
      "isPublic": true,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": true,
      "memberCount": 123,
      "marketCapOverTime": [ChartData],
      "volumeOverTime": [ChartData],
      "volume": NumberWithChange,
      "marketCap": NumberWithChange,
      "uniqueBuyersCount": NumberWithChange,
      "uniqueSellersCount": NumberWithChange,
      "imageUrl": "xyz789",
      "isMember": true,
      "members": [Collection]
    }
  }
}

createOrGetWalletWatchlist

Returns a WalletWatchlist!

Name Description
name - String
walletIds - [String!]!

Example

Query
mutation createOrGetWalletWatchlist($name: String, $walletIds: [String!]!) {
  createOrGetWalletWatchlist(name: $name, walletIds: $walletIds) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{
  "name": "Generated Argument example for createOrGetWalletWatchlist name",
  "walletIds": [
    "Generated Argument example for createOrGetWalletWatchlist walletIds"
  ]
}
Response
{
  "data": {
    "createOrGetWalletWatchlist": {
      "id": 987,
      "name": "abc123",
      "slug": "abc123",
      "isPublic": true,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 987,
      "isMember": false,
      "members": [Wallet],
      "flips": [Flip],
      "totalPortfolioValue": 987.65,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "activityChart": {},
      "tokens": [Token],
      "activity": [ActivityItem],
      "collections": [WalletCollection],
      "relatedWallets": [WalletRelation],
      "feed": [EventFeedItem]
    }
  }
}

createWalletWatchlist

Returns a WalletWatchlist!

Name Description
name - String!

Example

Query
mutation createWalletWatchlist($name: String!) {
  createWalletWatchlist(name: $name) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{
  "name": "Generated Argument example for createWalletWatchlist name"
}
Response
{
  "data": {
    "createWalletWatchlist": {
      "id": 123,
      "name": "xyz789",
      "slug": "abc123",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 123,
      "isMember": true,
      "members": [Wallet],
      "flips": [Flip],
      "totalPortfolioValue": 987.65,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "activityChart": {},
      "tokens": [Token],
      "activity": [ActivityItem],
      "collections": [WalletCollection],
      "relatedWallets": [WalletRelation],
      "feed": [EventFeedItem]
    }
  }
}

deleteAlert

Returns a Boolean!

Name Description
id - Int!

Example

Query
mutation deleteAlert($id: Int!) {
  deleteAlert(id: $id)
}
Variables
{"id": 987}
Response
{"data": {"deleteAlert": false}}

deleteAlertChannel

Returns a Boolean!

Name Description
id - Int!

Example

Query
mutation deleteAlertChannel($id: Int!) {
  deleteAlertChannel(id: $id)
}
Variables
{"id": 123}
Response
{"data": {"deleteAlertChannel": false}}

deleteWatchlist

Returns a Boolean!

Name Description
id - Int!

Example

Query
mutation deleteWatchlist($id: Int!) {
  deleteWatchlist(id: $id)
}
Variables
{"id": 987}
Response
{"data": {"deleteWatchlist": false}}

editWalletName

Returns a Boolean!

Name Description
name - String!
walletId - String!

Example

Query
mutation editWalletName($name: String!, $walletId: String!) {
  editWalletName(name: $name, walletId: $walletId)
}
Variables
{
  "name": "Generated Argument example for editWalletName name",
  "walletId": "Generated Argument example for editWalletName walletId"
}
Response
{"data": {"editWalletName": false}}

loginWithDiscord

Returns a WalletAccessToken!

Name Description
code - String!

Example

Query
mutation loginWithDiscord($code: String!) {
  loginWithDiscord(code: $code) {
    token
  }
}
Variables
{
  "code": "Generated Argument example for loginWithDiscord code"
}
Response
{"data": {"loginWithDiscord": {"token": "xyz789"}}}

openCrate

Returns a CrateOpen!

Name Description
seedHash - String!
tokenId - String!

Example

Query
mutation openCrate($seedHash: String!, $tokenId: String!) {
  openCrate(seedHash: $seedHash, tokenId: $tokenId) {
    id
    prizes
  }
}
Variables
{
  "seedHash": "Generated Argument example for openCrate seedHash",
  "tokenId": "Generated Argument example for openCrate tokenId"
}
Response
{"data": {"openCrate": {"id": 987, "prizes": [Prize]}}}

pinWatchlist

Returns a Boolean!

Name Description
id - Int!

Example

Query
mutation pinWatchlist($id: Int!) {
  pinWatchlist(id: $id)
}
Variables
{"id": 123}
Response
{"data": {"pinWatchlist": false}}

refreshCollectionItems

Returns a Boolean!

Name Description
id - String!

Example

Query
mutation refreshCollectionItems($id: String!) {
  refreshCollectionItems(id: $id)
}
Variables
{
  "id": "Generated Argument example for refreshCollectionItems id"
}
Response
{"data": {"refreshCollectionItems": true}}

refreshCollectionMetadata

Mutation to request collection metadata refresh
Returns a Boolean!

Name Description
id - String!

Example

Query
mutation refreshCollectionMetadata($id: String!) {
  refreshCollectionMetadata(id: $id)
}
Variables
{
  "id": "Generated Argument example for refreshCollectionMetadata id"
}
Response
{"data": {"refreshCollectionMetadata": true}}

refreshTokenListings

Returns [Order!]!

Name Description
tokenId - String!

Example

Query
mutation refreshTokenListings($tokenId: String!) {
  refreshTokenListings(tokenId: $tokenId) {
    id
    side
    marketplace
    makerId
    takerId
    collectionId
    tokenId
    price
    status
    filledAt
    cancelledAt
    createdAt
    expiresAt
    validFrom
    blockNumber
    blockTimestamp
    metadata
    token {
      ...TokenFragment
    }
    maker {
      ...WalletFragment
    }
    taker {
      ...WalletFragment
    }
    collection {
      ...CollectionFragment
    }
    pendingOrderFills {
      ...PendingFillFragment
    }
  }
}
Variables
{
  "tokenId": "Generated Argument example for refreshTokenListings tokenId"
}
Response
{
  "data": {
    "refreshTokenListings": [
      {
        "id": "abc123",
        "side": OrderSide,
        "marketplace": 123,
        "makerId": "xyz789",
        "takerId": "xyz789",
        "collectionId": "xyz789",
        "tokenId": "xyz789",
        "price": Decimal,
        "status": OrderStatus,
        "filledAt": DateTime,
        "cancelledAt": DateTime,
        "createdAt": DateTime,
        "expiresAt": DateTime,
        "validFrom": DateTime,
        "blockNumber": 123,
        "blockTimestamp": DateTime,
        "metadata": {},
        "token": Token,
        "maker": Wallet,
        "taker": Wallet,
        "collection": Collection,
        "pendingOrderFills": [PendingFill]
      }
    ]
  }
}

refreshTokenMetadata

Returns [Token!]!

Name Description
tokenId - String!

Example

Query
mutation refreshTokenMetadata($tokenId: String!) {
  refreshTokenMetadata(tokenId: $tokenId) {
    id
    collectionAddress
    tokenId
    ownerAddress
    mintTimestamp
    _count {
      ...TokenCountFragment
    }
    collection {
      ...CollectionFragment
    }
    transfers {
      ...TokenTransferFragment
    }
    attributes {
      ...TokenAttributeFragment
    }
    orders {
      ...OrderFragment
    }
    flips {
      ...FlipFragment
    }
    isReported
    rarityRank
    rarityScore
    rarityRankNormalized
    rarityScoreNormalized
    image
    previewImageUrl
    fullImageUrl
    name
    description
    metadata
    tokenUri
    price
    listings {
      ...OrderFragment
    }
    owner {
      ...WalletFragment
    }
    lastSale {
      ...SaleFragment
    }
    activity {
      ...ActivityItemFragment
    }
    activityChart
    eventFeed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{
  "tokenId": "Generated Argument example for refreshTokenMetadata tokenId"
}
Response
{
  "data": {
    "refreshTokenMetadata": [
      {
        "id": "abc123",
        "collectionAddress": "xyz789",
        "tokenId": "abc123",
        "ownerAddress": "abc123",
        "mintTimestamp": DateTime,
        "_count": TokenCount,
        "collection": Collection,
        "transfers": [TokenTransfer],
        "attributes": [TokenAttribute],
        "orders": [Order],
        "flips": [Flip],
        "isReported": true,
        "rarityRank": 123,
        "rarityScore": Decimal,
        "rarityRankNormalized": 123,
        "rarityScoreNormalized": Decimal,
        "image": "abc123",
        "previewImageUrl": "abc123",
        "fullImageUrl": "xyz789",
        "name": "abc123",
        "description": "xyz789",
        "metadata": {},
        "tokenUri": "abc123",
        "price": 987.65,
        "listings": [Order],
        "owner": Wallet,
        "lastSale": Sale,
        "activity": [ActivityItem],
        "activityChart": {},
        "eventFeed": [EventFeedItem]
      }
    ]
  }
}

removeCollectionsFromWatchlist

Returns a CollectionWatchlist!

Name Description
collectionIds - [String!]!
watchlistId - Int!

Example

Query
mutation removeCollectionsFromWatchlist($collectionIds: [String!]!, $watchlistId: Int!) {
  removeCollectionsFromWatchlist(collectionIds: $collectionIds, watchlistId: $watchlistId) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    marketCapOverTime {
      ...ChartDataFragment
    }
    volumeOverTime {
      ...ChartDataFragment
    }
    volume {
      ...NumberWithChangeFragment
    }
    marketCap {
      ...NumberWithChangeFragment
    }
    uniqueBuyersCount {
      ...NumberWithChangeFragment
    }
    uniqueSellersCount {
      ...NumberWithChangeFragment
    }
    imageUrl
    isMember
    members {
      ...CollectionFragment
    }
  }
}
Variables
{
  "collectionIds": [
    "Generated Argument example for removeCollectionsFromWatchlist collectionIds"
  ],
  "watchlistId": 123
}
Response
{
  "data": {
    "removeCollectionsFromWatchlist": {
      "id": 987,
      "name": "xyz789",
      "slug": "xyz789",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": true,
      "memberCount": 987,
      "marketCapOverTime": [ChartData],
      "volumeOverTime": [ChartData],
      "volume": NumberWithChange,
      "marketCap": NumberWithChange,
      "uniqueBuyersCount": NumberWithChange,
      "uniqueSellersCount": NumberWithChange,
      "imageUrl": "xyz789",
      "isMember": true,
      "members": [Collection]
    }
  }
}

removeWalletsFromWatchlist

Returns a WalletWatchlist!

Name Description
walletIds - [String!]!
watchlistId - Int!

Example

Query
mutation removeWalletsFromWatchlist($walletIds: [String!]!, $watchlistId: Int!) {
  removeWalletsFromWatchlist(walletIds: $walletIds, watchlistId: $watchlistId) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{
  "walletIds": [
    "Generated Argument example for removeWalletsFromWatchlist walletIds"
  ],
  "watchlistId": 987
}
Response
{
  "data": {
    "removeWalletsFromWatchlist": {
      "id": 123,
      "name": "xyz789",
      "slug": "abc123",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 987,
      "isMember": false,
      "members": [Wallet],
      "flips": [Flip],
      "totalPortfolioValue": 123.45,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "activityChart": {},
      "tokens": [Token],
      "activity": [ActivityItem],
      "collections": [WalletCollection],
      "relatedWallets": [WalletRelation],
      "feed": [EventFeedItem]
    }
  }
}

reportCollection

Returns a Boolean!

Name Description
reportData - ReportDataInput!
collectionId - String!

Example

Query
mutation reportCollection($reportData: ReportDataInput!, $collectionId: String!) {
  reportCollection(reportData: $reportData, collectionId: $collectionId)
}
Variables
{
  "reportData": ReportDataInput,
  "collectionId": "Generated Argument example for reportCollection collectionId"
}
Response
{"data": {"reportCollection": false}}

testChannel

Returns a Channel!

Name Description
id - Int!

Example

Query
mutation testChannel($id: Int!) {
  testChannel(id: $id) {
    id
    userId
    name
    type
    config
    status
    externalUserId
    _count {
      ...ChannelCountFragment
    }
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "testChannel": {
      "id": 987,
      "userId": "abc123",
      "name": "abc123",
      "type": ChannelType,
      "config": {},
      "status": ChannelStatus,
      "externalUserId": 123,
      "_count": ChannelCount
    }
  }
}

toggleCollectionHiddenState

Returns a Boolean!

Name Description
collectionId - String!

Example

Query
mutation toggleCollectionHiddenState($collectionId: String!) {
  toggleCollectionHiddenState(collectionId: $collectionId)
}
Variables
{
  "collectionId": "Generated Argument example for toggleCollectionHiddenState collectionId"
}
Response
{"data": {"toggleCollectionHiddenState": true}}

toggleFavorite

Returns a Boolean!

Name Description
model - String!
id - String!

Example

Query
mutation toggleFavorite($model: String!, $id: String!) {
  toggleFavorite(model: $model, id: $id)
}
Variables
{
  "model": "Generated Argument example for toggleFavorite model",
  "id": "Generated Argument example for toggleFavorite id"
}
Response
{"data": {"toggleFavorite": true}}

unpinWatchlist

Returns a Boolean!

Name Description
id - Int!

Example

Query
mutation unpinWatchlist($id: Int!) {
  unpinWatchlist(id: $id)
}
Variables
{"id": 987}
Response
{"data": {"unpinWatchlist": true}}

updateAlert

Returns an Alert!

Name Description
data - CreateAlertInput!
id - Int!

Example

Query
mutation updateAlert($data: CreateAlertInput!, $id: Int!) {
  updateAlert(data: $data, id: $id) {
    id
    userId
    name
    type
    config
    lastCheckedAt
    lastEvaluatedAt
    lastValue
    createdAt
    externalUserId
    status
    _count {
      ...AlertCountFragment
    }
    channels
  }
}
Variables
{"data": CreateAlertInput, "id": 987}
Response
{
  "data": {
    "updateAlert": {
      "id": 123,
      "userId": "abc123",
      "name": "xyz789",
      "type": AlertType,
      "config": {},
      "lastCheckedAt": DateTime,
      "lastEvaluatedAt": DateTime,
      "lastValue": 987.65,
      "createdAt": DateTime,
      "externalUserId": 123,
      "status": AlertStatus,
      "_count": AlertCount,
      "channels": [123]
    }
  }
}

updateBillingInfo

Returns a BillingInfo!

Name Description
billingInfoData - BillingInfoInput!

Example

Query
mutation updateBillingInfo($billingInfoData: BillingInfoInput!) {
  updateBillingInfo(billingInfoData: $billingInfoData) {
    id
    name
    addressLine1
    addressLine2
    city
    state
    zipCode
    country
    vatNumber
    createdAt
    updatedAt
    address
  }
}
Variables
{"billingInfoData": BillingInfoInput}
Response
{
  "data": {
    "updateBillingInfo": {
      "id": 123,
      "name": "xyz789",
      "addressLine1": "xyz789",
      "addressLine2": "abc123",
      "city": "abc123",
      "state": "xyz789",
      "zipCode": "abc123",
      "country": "xyz789",
      "vatNumber": "abc123",
      "createdAt": DateTime,
      "updatedAt": DateTime,
      "address": "xyz789"
    }
  }
}

updateCollectionWatchlist

Returns a CollectionWatchlist!

Name Description
name - String!
id - Int!

Example

Query
mutation updateCollectionWatchlist($name: String!, $id: Int!) {
  updateCollectionWatchlist(name: $name, id: $id) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    marketCapOverTime {
      ...ChartDataFragment
    }
    volumeOverTime {
      ...ChartDataFragment
    }
    volume {
      ...NumberWithChangeFragment
    }
    marketCap {
      ...NumberWithChangeFragment
    }
    uniqueBuyersCount {
      ...NumberWithChangeFragment
    }
    uniqueSellersCount {
      ...NumberWithChangeFragment
    }
    imageUrl
    isMember
    members {
      ...CollectionFragment
    }
  }
}
Variables
{
  "name": "Generated Argument example for updateCollectionWatchlist name",
  "id": 987
}
Response
{
  "data": {
    "updateCollectionWatchlist": {
      "id": 987,
      "name": "xyz789",
      "slug": "xyz789",
      "isPublic": true,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": true,
      "memberCount": 987,
      "marketCapOverTime": [ChartData],
      "volumeOverTime": [ChartData],
      "volume": NumberWithChange,
      "marketCap": NumberWithChange,
      "uniqueBuyersCount": NumberWithChange,
      "uniqueSellersCount": NumberWithChange,
      "imageUrl": "xyz789",
      "isMember": false,
      "members": [Collection]
    }
  }
}

updateWalletWatchlist

Returns a WalletWatchlist!

Name Description
status - WatchlistStatus
name - String
id - Int!

Example

Query
mutation updateWalletWatchlist($status: WatchlistStatus, $name: String, $id: Int!) {
  updateWalletWatchlist(status: $status, name: $name, id: $id) {
    id
    name
    slug
    isPublic
    createdAt
    status
    isPinned
    memberCount
    isMember
    members {
      ...WalletFragment
    }
    flips {
      ...FlipFragment
    }
    totalPortfolioValue
    totalPortfolioValueByLiquidity {
      ...PortfolioValueFragment
    }
    analytics {
      ...WalletAnalyticsFragment
    }
    profitAndLossOverTime
    profitSource
    collectionBalanceAndFloorOverTime
    positionChanges {
      ...WalletPositionChangeFragment
    }
    portfolioValueOverTime
    activityChart
    tokens {
      ...TokenFragment
    }
    activity {
      ...ActivityItemFragment
    }
    collections {
      ...WalletCollectionFragment
    }
    relatedWallets {
      ...WalletRelationFragment
    }
    feed {
      ...EventFeedItemFragment
    }
  }
}
Variables
{
  "status": WatchlistStatus,
  "name": "Generated Argument example for updateWalletWatchlist name",
  "id": 123
}
Response
{
  "data": {
    "updateWalletWatchlist": {
      "id": 987,
      "name": "xyz789",
      "slug": "abc123",
      "isPublic": false,
      "createdAt": DateTime,
      "status": WatchlistStatus,
      "isPinned": false,
      "memberCount": 987,
      "isMember": false,
      "members": [Wallet],
      "flips": [Flip],
      "totalPortfolioValue": 123.45,
      "totalPortfolioValueByLiquidity": [PortfolioValue],
      "analytics": WalletAnalytics,
      "profitAndLossOverTime": {},
      "profitSource": {},
      "collectionBalanceAndFloorOverTime": {},
      "positionChanges": [WalletPositionChange],
      "portfolioValueOverTime": {},
      "activityChart": {},
      "tokens": [Token],
      "activity": [ActivityItem],
      "collections": [WalletCollection],
      "relatedWallets": [WalletRelation],
      "feed": [EventFeedItem]
    }
  }
}

Types

ActivityItem

Field Name Description
id - String!
type - ActivityType!
timestamp - DateTime!
value - Float
gasSpent - Float
royalties - Float
marketplaceFee - Float
fromAddress - String
toAddress - String
collection - Collection
transaction - Transaction
token - Token
sale - Sale
listing - Order
offer - Order
from - Wallet
to - Wallet
floorDelta - Float
Example
{
  "id": "abc123",
  "type": ActivityType,
  "timestamp": DateTime,
  "value": 123.45,
  "gasSpent": 987.65,
  "royalties": 123.45,
  "marketplaceFee": 123.45,
  "fromAddress": "xyz789",
  "toAddress": "abc123",
  "collection": Collection,
  "transaction": Transaction,
  "token": Token,
  "sale": Sale,
  "listing": Order,
  "offer": Order,
  "from": Wallet,
  "to": Wallet,
  "floorDelta": 123.45
}

ActivityType

Enum Value Description

mint

burn

transfer

sale

list

bid

Alert

Field Name Description
id - Int!
userId - String
name - String The name of the alert
type - AlertType! Type of alert
config - JSON Configuration of the alert - raw JSON
lastCheckedAt - DateTime! Checkpoint field used for some alert types
lastEvaluatedAt - DateTime Timestamp of last evaluation
lastValue - Float Last value used for reference for some alert types
createdAt - DateTime! Timestamp of alert creation
externalUserId - Int!
status - AlertStatus! Current status of the alert
_count - AlertCount
channels - [Int!]!
Example
{
  "id": 123,
  "userId": "abc123",
  "name": "abc123",
  "type": AlertType,
  "config": {},
  "lastCheckedAt": DateTime,
  "lastEvaluatedAt": DateTime,
  "lastValue": 123.45,
  "createdAt": DateTime,
  "externalUserId": 123,
  "status": AlertStatus,
  "_count": AlertCount,
  "channels": [987]
}

AlertCount

Field Name Description
channels - Int!
history - Int!
Example
{"channels": 123, "history": 987}

AlertHistory

Field Name Description
id - Int!
alertId - Int!
payload - JSON! Alert payload
createdAt - DateTime! Timestamp of alert event
Example
{
  "id": 987,
  "alertId": 123,
  "payload": {},
  "createdAt": DateTime
}

AlertStatus

Enum Value Description

ACTIVE

INACTIVE

DISABLED

ERROR

FINISHED

AlertType

Enum Value Description

WALLET_ACTIVITY

COLLECTION_ACTIVITY

FEED_ACTIVITY

FLOOR_PRICE

REVEAL

COLLECTION_LISTINGS

Attribute

Token trait type

Field Name Description
id - String!
collectionId - String!
name - String! Name of the trait
displayType - String Display type of the trait
_count - AttributeCount
valueCount - Int Number of possible values for the trait
collection - Collection!
values - [AttributeValue!]! Possible values of the trait
tokenAttributes - [TokenAttribute!]! Tokens having this attribute
Example
{
  "id": "abc123",
  "collectionId": "abc123",
  "name": "abc123",
  "displayType": "abc123",
  "_count": AttributeCount,
  "valueCount": 987,
  "collection": Collection,
  "values": [AttributeValue],
  "tokenAttributes": [TokenAttribute]
}

AttributeCount

Field Name Description
values - Int!
tokenAttributes - Int!
Example
{"values": 123, "tokenAttributes": 987}

AttributeListRelationFilter

Input Field Description
every - AttributeWhereInput
some - AttributeWhereInput
none - AttributeWhereInput
Example
{
  "every": AttributeWhereInput,
  "some": AttributeWhereInput,
  "none": AttributeWhereInput
}

AttributeOrderByRelationAggregateInput

Input Field Description
_count - SortOrder
Example
{"_count": SortOrder}

AttributeOrderByWithRelationInput

Input Field Description
id - SortOrder
collectionId - SortOrder
collection - CollectionOrderByWithRelationInput
name - SortOrder
displayType - SortOrder
values - AttributeValueOrderByRelationAggregateInput
tokenAttributes - TokenAttributeOrderByRelationAggregateInput
Example
{
  "id": SortOrder,
  "collectionId": SortOrder,
  "collection": CollectionOrderByWithRelationInput,
  "name": SortOrder,
  "displayType": SortOrder,
  "values": AttributeValueOrderByRelationAggregateInput,
  "tokenAttributes": TokenAttributeOrderByRelationAggregateInput
}

AttributeRelationFilter

Input Field Description
is - AttributeWhereInput
isNot - AttributeWhereInput
Example
{
  "is": AttributeWhereInput,
  "isNot": AttributeWhereInput
}

AttributeScalarFieldEnum

Enum Value Description

id

collectionId

name

displayType

AttributeValue

Token trait value

Field Name Description
id - String!
attributeId - String!
value - String! Value of token attribute
_count - AttributeValueCount
attribute - Attribute!
tokenAttributes - [TokenAttribute!]! Tokens having this attribute value
sales - AttributeValueSales
volumeChart - [ChartData!]
tokenCount - Int Number of tokens having this trait value
Example
{
  "id": "xyz789",
  "attributeId": "xyz789",
  "value": "xyz789",
  "_count": AttributeValueCount,
  "attribute": Attribute,
  "tokenAttributes": [TokenAttribute],
  "sales": AttributeValueSales,
  "volumeChart": [ChartData],
  "tokenCount": 987
}

AttributeValueCount

Field Name Description
tokenAttributes - Int!
Example
{"tokenAttributes": 987}

AttributeValueListRelationFilter

Input Field Description
every - AttributeValueWhereInput
some - AttributeValueWhereInput
none - AttributeValueWhereInput
Example
{
  "every": AttributeValueWhereInput,
  "some": AttributeValueWhereInput,
  "none": AttributeValueWhereInput
}

AttributeValueOrderByRelationAggregateInput

Input Field Description
_count - SortOrder
Example
{"_count": SortOrder}

AttributeValueOrderByWithRelationInput

Input Field Description
id - SortOrder
attributeId - SortOrder
attribute - AttributeOrderByWithRelationInput
value - SortOrder
tokenAttributes - TokenAttributeOrderByRelationAggregateInput
Example
{
  "id": SortOrder,
  "attributeId": SortOrder,
  "attribute": AttributeOrderByWithRelationInput,
  "value": SortOrder,
  "tokenAttributes": TokenAttributeOrderByRelationAggregateInput
}

AttributeValueRelationFilter

Input Field Description
is - AttributeValueWhereInput
isNot - AttributeValueWhereInput
Example
{
  "is": AttributeValueWhereInput,
  "isNot": AttributeValueWhereInput
}

AttributeValueSales

Sale metrics for trait value

Field Name Description
count - Int Number of sales
uniqueTokensCount - Int Unique tokens transacted
minPrice - Float Lowest price
maxPrice - Float Highest price
avgPrice - Float Average price
volume - Float Total volume
floorPrice - Float Floor price of trait
Example
{
  "count": 123,
  "uniqueTokensCount": 987,
  "minPrice": 123.45,
  "maxPrice": 123.45,
  "avgPrice": 123.45,
  "volume": 987.65,
  "floorPrice": 123.45
}

AttributeValueScalarFieldEnum

Enum Value Description

id

attributeId

value

AttributeValueWhereInput

Example
{
  "AND": [AttributeValueWhereInput],
  "OR": [AttributeValueWhereInput],
  "NOT": [AttributeValueWhereInput],
  "id": StringFilter,
  "attributeId": StringFilter,
  "attribute": AttributeRelationFilter,
  "value": StringFilter,
  "tokenAttributes": TokenAttributeListRelationFilter
}

AttributeValueWhereUniqueInput

Input Field Description
id - String
Example
{"id": "xyz789"}

AttributeWhereInput

Example
{
  "AND": [AttributeWhereInput],
  "OR": [AttributeWhereInput],
  "NOT": [AttributeWhereInput],
  "id": StringFilter,
  "collectionId": StringFilter,
  "collection": CollectionRelationFilter,
  "name": StringFilter,
  "displayType": StringNullableFilter,
  "values": AttributeValueListRelationFilter,
  "tokenAttributes": TokenAttributeListRelationFilter
}

AttributeWhereUniqueInput

Input Field Description
id - String
Example
{"id": "xyz789"}

BigInt

The BigInt scalar type represents non-fractional signed whole numeric values.

Example
object

BigIntFilter

Input Field Description
equals - BigInt
in - [BigInt!]
notIn - [BigInt!]
lt - BigInt
lte - BigInt
gt - BigInt
gte - BigInt
not - NestedBigIntFilter
Example
{
  "equals": BigInt,
  "in": [BigInt],
  "notIn": [BigInt],
  "lt": BigInt,
  "lte": BigInt,
  "gt": BigInt,
  "gte": BigInt,
  "not": NestedBigIntFilter
}

BigIntNullableFilter

Input Field Description
equals - BigInt
in - [BigInt!]
notIn - [BigInt!]
lt - BigInt
lte - BigInt
gt - BigInt
gte - BigInt
not - NestedBigIntNullableFilter
Example
{
  "equals": BigInt,
  "in": [BigInt],
  "notIn": [BigInt],
  "lt": BigInt,
  "lte": BigInt,
  "gt": BigInt,
  "gte": BigInt,
  "not": NestedBigIntNullableFilter
}

BillingInfo

Field Name Description
id - Int!
name - String!
addressLine1 - String!
addressLine2 - String
city - String
state - String
zipCode - String
country - String!
vatNumber - String
createdAt - DateTime!
updatedAt - DateTime
address - String!
Example
{
  "id": 987,
  "name": "xyz789",
  "addressLine1": "abc123",
  "addressLine2": "abc123",
  "city": "xyz789",
  "state": "xyz789",
  "zipCode": "abc123",
  "country": "abc123",
  "vatNumber": "abc123",
  "createdAt": DateTime,
  "updatedAt": DateTime,
  "address": "xyz789"
}

BillingInfoBaseInput

Input Field Description
name - String!
addressLine1 - String!
addressLine2 - String
city - String!
state - String
zipCode - String
country - String!
vatNumber - String default = ""
Example
{
  "name": "xyz789",
  "addressLine1": "abc123",
  "addressLine2": "xyz789",
  "city": "xyz789",
  "state": "xyz789",
  "zipCode": "abc123",
  "country": "xyz789",
  "vatNumber": 
}

BillingInfoInput

Input Field Description
name - String!
addressLine1 - String!
addressLine2 - String
city - String!
state - String
zipCode - String
country - String!
vatNumber - String default = ""
id - Float!
Example
{
  "name": "xyz789",
  "addressLine1": "abc123",
  "addressLine2": "xyz789",
  "city": "abc123",
  "state": "xyz789",
  "zipCode": "xyz789",
  "country": "abc123",
  "vatNumber": ,
  "id": 123.45
}

BoolFilter

Input Field Description
equals - Boolean
not - NestedBoolFilter
Example
{"equals": false, "not": NestedBoolFilter}

BoolNullableFilter

Input Field Description
equals - Boolean
not - NestedBoolNullableFilter
Example
{"equals": false, "not": NestedBoolNullableFilter}

Boolean

The Boolean scalar type represents true or false.

Example
true

BurnEvent

Field Name Description
id - String!
type - EventType!
value - Float
timestamp - DateTime!
transaction - Transaction
collection - Collection
token - Token
wallet - Wallet
Example
{
  "id": "abc123",
  "type": EventType,
  "value": 123.45,
  "timestamp": DateTime,
  "transaction": Transaction,
  "collection": Collection,
  "token": Token,
  "wallet": Wallet
}

BuyEvent

Field Name Description
id - String!
type - EventType!
value - Float
timestamp - DateTime!
transaction - Transaction
collection - Collection
token - Token
wallet - Wallet
seller - Wallet
sale - Sale
flip - Flip
Example
{
  "id": "xyz789",
  "type": EventType,
  "value": 987.65,
  "timestamp": DateTime,
  "transaction": Transaction,
  "collection": Collection,
  "token": Token,
  "wallet": Wallet,
  "seller": Wallet,
  "sale": Sale,
  "flip": Flip
}

CacheControlScope

Enum Value Description

PUBLIC

PRIVATE

Channel

Alert notification channel

Field Name Description
id - Int!
userId - String
name - String! Name of the alert notification channel
type - ChannelType! Channel type
config - JSON Channel configuration - raw JSON
status - ChannelStatus!
externalUserId - Int!
_count - ChannelCount
Example
{
  "id": 123,
  "userId": "xyz789",
  "name": "xyz789",
  "type": ChannelType,
  "config": {},
  "status": ChannelStatus,
  "externalUserId": 987,
  "_count": ChannelCount
}

ChannelCount

Field Name Description
alerts - Int!
Example
{"alerts": 123}

ChannelCreateInput

Input Field Description
name - String!
type - ChannelType!
config - JSON
status - ChannelStatus
Example
{
  "name": "abc123",
  "type": ChannelType,
  "config": {},
  "status": ChannelStatus
}

ChannelStatus

Enum Value Description

ACTIVE

INACTIVE

DISABLED

ERROR

ChannelType

Enum Value Description

PUSH

WEBHOOK

EMAIL

SMS

DISCORD_CHANNEL

SLACK

DISCORD_WEBHOOK

TELEGRAM

DISCORD_DM

ChartData

Field Name Description
key - String!
value - Float!
Example
{"key": "abc123", "value": 987.65}

Checkout

Field Name Description
id - Int!
paymentAddress - String!
status - CheckoutStatus!
planId - String!
value - Float!
paidAt - DateTime
createdAt - DateTime!
updatedAt - DateTime!
billingInfo - BillingInfo
Example
{
  "id": 987,
  "paymentAddress": "xyz789",
  "status": CheckoutStatus,
  "planId": "xyz789",
  "value": 987.65,
  "paidAt": DateTime,
  "createdAt": DateTime,
  "updatedAt": DateTime,
  "billingInfo": BillingInfo
}

CheckoutStatus

Enum Value Description

PENDING

TX_PENDING

CANCELLED

EXPIRED

COMPLETE

ClaimablePrize

Field Name Description
id - Int!
isClaimed - Boolean!
type - PrizeType!
prize - SinglePrize!
Example
{
  "id": 123,
  "isClaimed": false,
  "type": PrizeType,
  "prize": SinglePrize
}

CoinPrize

Field Name Description
amount - Float!
numberOfPackages - Int!
Example
{"amount": 987.65, "numberOfPackages": 123}

Collection

Model representing an NFT collection

Field Name Description
id - String! ID of the collection (contract address)
type - String! Type of the collection. Currently either erc721 or erc1155
isVerified - Boolean! Flag that indicates if the collection is verified on OpenSea
isRevealed - Boolean! Flag that indicates if the collection is revealed
revealsAt - DateTime Expected timestamp reveal
revealedAt - DateTime Timestamp of reveal
name - String Name of the collection
symbol - String Contract symbol
maxSupply - Int Maximum supply allowed by contract. This is not the same as total supply.
slug - String The OpenSea URL slug of the collection
imageUrl - String Avatar of collection
bannerImageUrl - String Cover image of collection
description - String Short description of the collection
discordUrl - String Invite link to the Discord guild of the collection
contractCreatedTimestamp - DateTime Timestamp of contract deployment
externalUrl - String Website URL
telegramUrl - String
mediumUsername - String
twitterUsername - String
instagramUsername - String
devFeeBasisPoints - Int Royalties set by the project owner (in basis points)
openseaFeeBasisPoints - Int Fees Opensea collects for this collection
updatedAt - DateTime
orderbookSyncedAt - DateTime
_count - CollectionCount
charts - CollectionCharts!

Arguments

size - String default = "7d"

period - String default = "1h"

listingsChart - JSON

Arguments

period - String default = "1h"

listingsOverTime - JSON

Arguments

size - String default = "7d"

period - String default = "1h"

transactionsChart - JSON

Arguments

period - String default = "1h"

metrics - CollectionMetrics!

Arguments

period - String default = "1d"

previousMetrics - CollectionMetrics!

Arguments

period - String default = "1d"

salesFloor - Float
previousSalesFloor - Float
isRefreshingTokenMetadata - Boolean!
totalSupply - Int! Total number of active minted tokens
mintMetrics - MintingCollectionWithChart
minters - [CollectionMinter!]! List of wallets that minted the collection

Arguments

take - Int default = 50

Number of entities to return in response (used for pagination)

skip - Int default = 0

Number of entities to skip (used for pagination)

revealProgress - Float!
isSyncingOrders - Boolean! Flag that indicates if the initial orderbook sync is currently running
totalTokensListed - Int Total number of tokens listed
listedFloor - Float The floor price of the collection. Price of the lowest active listing
topOffer - Float The price of the best collection offer
previousListedFloor - Float Previous day floor price of the collection.
tokensListedPastDay - Int Number of tokens listed in the past 24 hours
tokens - [Token!]! List of tokens in the collection

Arguments

orderBy - String

owner - String

owners - [String!]

tokenId - String

tokenIdFrom - String

tokenIdTo - String

priceFrom - Float

priceTo - Float

rarityFrom - Int

rarityTo - Int

listingStatus - String

attributeValueIds - [String!]

attributeCount - Int

take - Int default = 50

Number of entities to return in response (used for pagination)

skip - Int default = 0

Number of entities to skip (used for pagination)

listingEvents - [CollectionListingEvent!]! Listing events

Arguments

take - Int default = 50

Number of entities to return in response (used for pagination)

skip - Int default = 0

Number of entities to skip (used for pagination)

sortBy - String default = "date_desc"

priceFrom - Float

priceTo - Float

rarityFrom - Int

rarityTo - Int

attributeValueIds - [String!]

saleEvents - [CollectionActivityEvent!]! Sale events

Arguments

take - Int default = 50

Number of entities to return in response (used for pagination)

skip - Int default = 0

Number of entities to skip (used for pagination)

sortBy - String default = "date_desc"

priceFrom - Float

priceTo - Float

rarityFrom - Int

rarityTo - Int

attributeValueIds - [String!]

totalVolume - Float! Total lifetime volume of the collection across all supported marketplaces
totalProfits - Float!

Arguments

period - String default = "1d"

liquidityRank - LiquidityRank!
activity - [ActivityItem!]!

Arguments

filters - [FilterArg!]

take - Int default = 50

Number of entities to return in response (used for pagination)

skip - Int default = 0

Number of entities to skip (used for pagination)

tokensV2 - [Token!]!

Arguments

orderDesc - Boolean

orderBy - String

filters - [FilterArg!]

take - Int default = 50

Number of entities to return in response (used for pagination)

skip - Int default = 0

Number of entities to skip (used for pagination)

floorPriceChart - JSON!

Arguments

period - String default = "1d"

orderbookDepth - JSON!

Arguments

dataGrouping - Float default = 0.1

tokenTransfers - [TokenTransfer!]! Token transfers involing tokens of collection
attributes - [Attribute!]! Trait types the collection has
orders - [Order!]!

Arguments

where - OrderWhereInput

take - Int

skip - Int

sales - [Sale!]!

Arguments

where - SaleWhereInput

take - Int

skip - Int

profitLeaderboard - [ProfitLeader!]!

Arguments

filters - [FilterArg!]

take - Int default = 50

Number of entities to return in response (used for pagination)

skip - Int default = 0

Number of entities to skip (used for pagination)

socialMetricsLastUpdatedAt - DateTime! Last time the data was updated
twitterMetrics - [TwitterMetrics] List of Twitter metrics for this collection
discordMetrics - [DiscordMetrics] List of Discord metrics for this collection
tweets - [TweetMention] List of Tweets mentioning this collection
followedBy - [FollowedBy] List of users following this collection
isReportedByUser - Boolean!
isReported - Boolean!
reportReason - ReportReason
isPremiumRequired - Boolean! If false most collection has all metrics unlocked with no delays
Example
{
  "id": "xyz789",
  "type": "abc123",
  "isVerified": false,
  "isRevealed": false,
  "revealsAt": DateTime,
  "revealedAt": DateTime,
  "name": "abc123",
  "symbol": "abc123",
  "maxSupply": 123,
  "slug": "xyz789",
  "imageUrl": "abc123",
  "bannerImageUrl": "xyz789",
  "description": "xyz789",
  "discordUrl": "xyz789",
  "contractCreatedTimestamp": DateTime,
  "externalUrl": "xyz789",
  "telegramUrl": "xyz789",
  "mediumUsername": "xyz789",
  "twitterUsername": "abc123",
  "instagramUsername": "abc123",
  "devFeeBasisPoints": 987,
  "openseaFeeBasisPoints": 987,
  "updatedAt": DateTime,
  "orderbookSyncedAt": DateTime,
  "_count": CollectionCount,
  "charts": CollectionCharts,
  "listingsChart": {},
  "listingsOverTime": {},
  "transactionsChart": {},
  "metrics": CollectionMetrics,
  "previousMetrics": CollectionMetrics,
  "salesFloor": 987.65,
  "previousSalesFloor": 123.45,
  "isRefreshingTokenMetadata": true,
  "totalSupply": 987,
  "mintMetrics": MintingCollectionWithChart,
  "minters": [CollectionMinter],
  "revealProgress": 123.45,
  "isSyncingOrders": true,
  "totalTokensListed": 987,
  "listedFloor": 123.45,
  "topOffer": 123.45,
  "previousListedFloor": 123.45,
  "tokensListedPastDay": 123,
  "tokens": [Token],
  "listingEvents": [CollectionListingEvent],
  "saleEvents": [CollectionActivityEvent],
  "totalVolume": 123.45,
  "totalProfits": 987.65,
  "liquidityRank": LiquidityRank,
  "activity": [ActivityItem],
  "tokensV2": [Token],
  "floorPriceChart": {},
  "orderbookDepth": {},
  "tokenTransfers": [TokenTransfer],
  "attributes": [Attribute],
  "orders": [Order],
  "sales": [Sale],
  "profitLeaderboard": [ProfitLeader],
  "socialMetricsLastUpdatedAt": DateTime,
  "twitterMetrics": [TwitterMetrics],
  "discordMetrics": [DiscordMetrics],
  "tweets": [TweetMention],
  "followedBy": [FollowedBy],
  "isReportedByUser": false,
  "isReported": true,
  "reportReason": ReportReason,
  "isPremiumRequired": false
}

CollectionActivityEvent

Activity event model (sale or listing)

Field Name Description
timestamp - DateTime! Event timestamp
type - CollectionActivityEventType! Type of event
tokenId - String Internal unique token ID
token - Token
value - Float! Event value (sale/listing price)
marketplace - Int! Marketplace where this event happened
saleType - SaleType
listingType - ListingType
Example
{
  "timestamp": DateTime,
  "type": CollectionActivityEventType,
  "tokenId": "abc123",
  "token": Token,
  "value": 123.45,
  "marketplace": 987,
  "saleType": SaleType,
  "listingType": ListingType
}

CollectionActivityEventType

Enum Value Description

LISTING

SALE

CollectionCharts

Field Name Description
volume - JSON!
avgPrice - JSON
medianPrice - JSON
minPrice - JSON
salesCount - JSON
Example
{
  "volume": {},
  "avgPrice": {},
  "medianPrice": {},
  "minPrice": {},
  "salesCount": {}
}

CollectionCount

Field Name Description
tokens - Int!
tokenTransfers - Int!
attributes - Int!
favoritedBy - Int!
orders - Int!
sales - Int!
flips - Int!
Example
{
  "tokens": 123,
  "tokenTransfers": 987,
  "attributes": 123,
  "favoritedBy": 987,
  "orders": 987,
  "sales": 123,
  "flips": 987
}

CollectionHolders

Field Name Description
wallets - [WalletBalance!]!
count - Int!
bluechipHoldersCount - Int!
avgBalance - Float
singleTokenWalletCount - Int
Example
{
  "wallets": [WalletBalance],
  "count": 123,
  "bluechipHoldersCount": 987,
  "avgBalance": 987.65,
  "singleTokenWalletCount": 987
}

CollectionListingEvent

Listing event model

Field Name Description
timestamp - DateTime! Event timestamp
type - CollectionActivityEventType! Type of event
tokenId - String Internal unique token ID
token - Token
value - Float! Event value (sale/listing price)
marketplace - Int! Marketplace where this event happened
saleType - SaleType
listingType - ListingType
orderHash - String!
pendingOrderFills - [PendingFill!]! Query pending token sale transactions
Example
{
  "timestamp": DateTime,
  "type": CollectionActivityEventType,
  "tokenId": "xyz789",
  "token": Token,
  "value": 987.65,
  "marketplace": 123,
  "saleType": SaleType,
  "listingType": ListingType,
  "orderHash": "xyz789",
  "pendingOrderFills": [PendingFill]
}

CollectionMetrics

Field Name Description
minPrice - Float
medianPrice - Float
avgPrice - Float
maxPrice - Float
volume - Float
previous - CollectionMetrics
Example
{
  "minPrice": 123.45,
  "medianPrice": 987.65,
  "avgPrice": 123.45,
  "maxPrice": 987.65,
  "volume": 987.65,
  "previous": CollectionMetrics
}

CollectionMinter

Field Name Description
wallet - Wallet!
count - Int!
Example
{"wallet": Wallet, "count": 987}

CollectionOrderByWithRelationInput

Input Field Description
id - SortOrder
isERC721 - SortOrder
tokens - TokenOrderByRelationAggregateInput
tokenTransfers - TokenTransferOrderByRelationAggregateInput
type - SortOrder
isVerified - SortOrder
isRevealed - SortOrder
revealsAt - SortOrder
revealedAt - SortOrder
name - SortOrder
symbol - SortOrder
maxSupply - SortOrder
slug - SortOrder
imageUrl - SortOrder
bannerImageUrl - SortOrder
description - SortOrder
discordUrl - SortOrder
contractCreatedTimestamp - SortOrder
externalUrl - SortOrder
telegramUrl - SortOrder
mediumUsername - SortOrder
twitterUsername - SortOrder
instagramUsername - SortOrder
devFeeBasisPoints - SortOrder
openseaFeeBasisPoints - SortOrder
updatedAt - SortOrder
orderbookSyncedAt - SortOrder
attributes - AttributeOrderByRelationAggregateInput
orders - OrderOrderByRelationAggregateInput
sales - SaleOrderByRelationAggregateInput
flips - FlipOrderByRelationAggregateInput
Example
{
  "id": SortOrder,
  "isERC721": SortOrder,
  "tokens": TokenOrderByRelationAggregateInput,
  "tokenTransfers": TokenTransferOrderByRelationAggregateInput,
  "type": SortOrder,
  "isVerified": SortOrder,
  "isRevealed": SortOrder,
  "revealsAt": SortOrder,
  "revealedAt": SortOrder,
  "name": SortOrder,
  "symbol": SortOrder,
  "maxSupply": SortOrder,
  "slug": SortOrder,
  "imageUrl": SortOrder,
  "bannerImageUrl": SortOrder,
  "description": SortOrder,
  "discordUrl": SortOrder,
  "contractCreatedTimestamp": SortOrder,
  "externalUrl": SortOrder,
  "telegramUrl": SortOrder,
  "mediumUsername": SortOrder,
  "twitterUsername": SortOrder,
  "instagramUsername": SortOrder,
  "devFeeBasisPoints": SortOrder,
  "openseaFeeBasisPoints": SortOrder,
  "updatedAt": SortOrder,
  "orderbookSyncedAt": SortOrder,
  "attributes": AttributeOrderByRelationAggregateInput,
  "orders": OrderOrderByRelationAggregateInput,
  "sales": SaleOrderByRelationAggregateInput,
  "flips": FlipOrderByRelationAggregateInput
}

CollectionRelationFilter

Input Field Description
is - CollectionWhereInput
isNot - CollectionWhereInput
Example
{
  "is": CollectionWhereInput,
  "isNot": CollectionWhereInput
}

CollectionScalarFieldEnum

Enum Value Description

id

isERC721

type

isVerified

isRevealed

revealsAt

revealedAt

name

symbol

maxSupply

slug

imageUrl

bannerImageUrl

description

discordUrl

contractCreatedTimestamp

externalUrl

telegramUrl

mediumUsername

twitterUsername

instagramUsername

devFeeBasisPoints

openseaFeeBasisPoints

updatedAt

orderbookSyncedAt

valuationOptimalLayer

CollectionWatchlist

Field Name Description
id - Int!
name - String!
slug - String!
isPublic - Boolean!
createdAt - DateTime!
status - WatchlistStatus!
isPinned - Boolean!
memberCount - Int!
marketCapOverTime - [ChartData!]!

Arguments

period - String default = "90d"

volumeOverTime - [ChartData!]!

Arguments

period - String default = "90d"

volume - NumberWithChange!

Arguments

period - String default = "1d"

marketCap - NumberWithChange!

Arguments

period - String default = "1d"

uniqueBuyersCount - NumberWithChange!

Arguments

period - String default = "1d"

uniqueSellersCount - NumberWithChange!

Arguments

period - String default = "1d"

imageUrl - String!
isMember - Boolean!

Arguments

id - String!

members - [Collection!]!
Example
{
  "id": 123,
  "name": "abc123",
  "slug": "xyz789",
  "isPublic": true,
  "createdAt": DateTime,
  "status": WatchlistStatus,
  "isPinned": true,
  "memberCount": 987,
  "marketCapOverTime": [ChartData],
  "volumeOverTime": [ChartData],
  "volume": NumberWithChange,
  "marketCap": NumberWithChange,
  "uniqueBuyersCount": NumberWithChange,
  "uniqueSellersCount": NumberWithChange,
  "imageUrl": "abc123",
  "isMember": false,
  "members": [Collection]
}

CollectionWhereInput

Input Field Description
AND - [CollectionWhereInput!]
OR - [CollectionWhereInput!]
NOT - [CollectionWhereInput!]
id - StringFilter
isERC721 - BoolNullableFilter
tokens - TokenListRelationFilter
tokenTransfers - TokenTransferListRelationFilter
type - StringFilter
isVerified - BoolFilter
isRevealed - BoolFilter
revealsAt - DateTimeNullableFilter
revealedAt - DateTimeNullableFilter
name - StringNullableFilter
symbol - StringNullableFilter
maxSupply - IntNullableFilter
slug - StringNullableFilter
imageUrl - StringNullableFilter
bannerImageUrl - StringNullableFilter
description - StringNullableFilter
discordUrl - StringNullableFilter
contractCreatedTimestamp - DateTimeNullableFilter
externalUrl - StringNullableFilter
telegramUrl - StringNullableFilter
mediumUsername - StringNullableFilter
twitterUsername - StringNullableFilter
instagramUsername - StringNullableFilter
devFeeBasisPoints - IntNullableFilter
openseaFeeBasisPoints - IntNullableFilter
updatedAt - DateTimeNullableFilter
orderbookSyncedAt - DateTimeNullableFilter
attributes - AttributeListRelationFilter
orders - OrderListRelationFilter
sales - SaleListRelationFilter
flips - FlipListRelationFilter
Example
{
  "AND": [CollectionWhereInput],
  "OR": [CollectionWhereInput],
  "NOT": [CollectionWhereInput],
  "id": StringFilter,
  "isERC721": BoolNullableFilter,
  "tokens": TokenListRelationFilter,
  "tokenTransfers": TokenTransferListRelationFilter,
  "type": StringFilter,
  "isVerified": BoolFilter,
  "isRevealed": BoolFilter,
  "revealsAt": DateTimeNullableFilter,
  "revealedAt": DateTimeNullableFilter,
  "name": StringNullableFilter,
  "symbol": StringNullableFilter,
  "maxSupply": IntNullableFilter,
  "slug": StringNullableFilter,
  "imageUrl": StringNullableFilter,
  "bannerImageUrl": StringNullableFilter,
  "description": StringNullableFilter,
  "discordUrl": StringNullableFilter,
  "contractCreatedTimestamp": DateTimeNullableFilter,
  "externalUrl": StringNullableFilter,
  "telegramUrl": StringNullableFilter,
  "mediumUsername": StringNullableFilter,
  "twitterUsername": StringNullableFilter,
  "instagramUsername": StringNullableFilter,
  "devFeeBasisPoints": IntNullableFilter,
  "openseaFeeBasisPoints": IntNullableFilter,
  "updatedAt": DateTimeNullableFilter,
  "orderbookSyncedAt": DateTimeNullableFilter,
  "attributes": AttributeListRelationFilter,
  "orders": OrderListRelationFilter,
  "sales": SaleListRelationFilter,
  "flips": FlipListRelationFilter
}

CollectionWhereUniqueInput

Input Field Description
id - String
Example
{"id": "abc123"}

CollectionWithStats

Field Name Description
id - String!
collection - Collection!
volume - Float
salesCount - Int
avgPrice - Float
minPrice - Float
maxPrice - Float
medianPrice - Float
previous - CollectionWithStats
Example
{
  "id": "xyz789",
  "collection": Collection,
  "volume": 123.45,
  "salesCount": 123,
  "avgPrice": 987.65,
  "minPrice": 123.45,
  "maxPrice": 123.45,
  "medianPrice": 987.65,
  "previous": CollectionWithStats
}

Coupon

Field Name Description
discountValue - Float!
Example
{"discountValue": 123.45}

CrateOpen

Field Name Description
id - Int!
prizes - [Prize!]!
Example
{"id": 123, "prizes": [Prize]}

CreateAlertInput

Input Field Description
name - String!
type - AlertType!
config - JSON
channels - [Int!]!
Example
{
  "name": "abc123",
  "type": AlertType,
  "config": {},
  "channels": [42]
}

DateTime

The javascript Date as string. Type represents date and time as the ISO Date string.

Example
"2016-10-07T01:08:03.420Z"

DateTimeFilter

Input Field Description
equals - DateTime
in - [DateTime!]
notIn - [DateTime!]
lt - DateTime
lte - DateTime
gt - DateTime
gte - DateTime
not - NestedDateTimeFilter
Example
{
  "equals": DateTime,
  "in": [DateTime],
  "notIn": [DateTime],
  "lt": DateTime,
  "lte": DateTime,
  "gt": DateTime,
  "gte": DateTime,
  "not": NestedDateTimeFilter
}

DateTimeNullableFilter

Input Field Description
equals - DateTime
in - [DateTime!]
notIn - [DateTime!]
lt - DateTime
lte - DateTime
gt - DateTime
gte - DateTime
not - NestedDateTimeNullableFilter
Example
{
  "equals": DateTime,
  "in": [DateTime],
  "notIn": [DateTime],
  "lt": DateTime,
  "lte": DateTime,
  "gt": DateTime,
  "gte": DateTime,
  "not": NestedDateTimeNullableFilter
}

Decimal

GraphQL Scalar representing the Prisma.Decimal type, based on Decimal.js library.

Example
object

DecimalFilter

Input Field Description
equals - Decimal
in - [Decimal!]
notIn - [Decimal!]
lt - Decimal
lte - Decimal
gt - Decimal
gte - Decimal
not - NestedDecimalFilter
Example
{
  "equals": Decimal,
  "in": [Decimal],
  "notIn": [Decimal],
  "lt": Decimal,
  "lte": Decimal,
  "gt": Decimal,
  "gte": Decimal,
  "not": NestedDecimalFilter
}

DecimalNullableFilter

Input Field Description
equals - Decimal
in - [Decimal!]
notIn - [Decimal!]
lt - Decimal
lte - Decimal
gt - Decimal
gte - Decimal
not - NestedDecimalNullableFilter
Example
{
  "equals": Decimal,
  "in": [Decimal],
  "notIn": [Decimal],
  "lt": Decimal,
  "lte": Decimal,
  "gt": Decimal,
  "gte": Decimal,
  "not": NestedDecimalNullableFilter
}

DiscordMetrics

Discord metrics for given NFT collection

Field Name Description
id - ID! id of the entry in DB
code - String! Discord Server(GUILD) Invite code
memberCount - Int! Aproximate Discord Server members count
presenceCount - Int! Aproximate Discord Server active members count
timestamp - DateTime! Time of data
Example
{
  "id": ID,
  "code": "abc123",
  "memberCount": 987,
  "presenceCount": 123,
  "timestamp": DateTime
}

Draw

Field Name Description
id - Int!
seedHash - String!
isActive - Boolean!
startsAt - DateTime!
endsAt - DateTime!
coinPrizes - [CoinPrize!]!
whitelistPrizes - [WhitelistCollectionPrize!]!
tokenPrizes - [TokenPrize!]!
prizesWon - [ClaimablePrize!]
entries - [Entry!]
Example
{
  "id": 123,
  "seedHash": "xyz789",
  "isActive": false,
  "startsAt": DateTime,
  "endsAt": DateTime,
  "coinPrizes": [CoinPrize],
  "whitelistPrizes": [WhitelistCollectionPrize],
  "tokenPrizes": [TokenPrize],
  "prizesWon": [ClaimablePrize],
  "entries": [Entry]
}

Entry

Field Name Description
isOpened - Boolean!
token - Token!
Example
{"isOpened": true, "token": Token}

EnumOrderSideFilter

Input Field Description
equals - OrderSide
in - [OrderSide!]
notIn - [OrderSide!]
not - NestedEnumOrderSideFilter
Example
{
  "equals": OrderSide,
  "in": [OrderSide],
  "notIn": [OrderSide],
  "not": NestedEnumOrderSideFilter
}

EnumOrderStatusFilter

Input Field Description
equals - OrderStatus
in - [OrderStatus!]
notIn - [OrderStatus!]
not - NestedEnumOrderStatusFilter
Example
{
  "equals": OrderStatus,
  "in": [OrderStatus],
  "notIn": [OrderStatus],
  "not": NestedEnumOrderStatusFilter
}

Erc20Info

Field Name Description
name - String!
imageUrl - String!
Example
{"name": "xyz789", "imageUrl": "xyz789"}

EventFeedItem

Field Name Description
id - String!
type - EventType!
timestamp - DateTime!
value - Float
wallet - Wallet
collection - Collection
transaction - Transaction
tokenCount - Int
events - [Event!]!
Example
{
  "id": "abc123",
  "type": EventType,
  "timestamp": DateTime,
  "value": 987.65,
  "wallet": Wallet,
  "collection": Collection,
  "transaction": Transaction,
  "tokenCount": 123,
  "events": [Event]
}

EventType

Enum Value Description

send

receive

buy

sell

mint

burn

list

bid

reveal

sweep

FilterArg

Input Field Description
key - String

Key of field that is being filtered

value - JSON

Value of filter

type - FilterType

Type of filter

Example
{
  "key": "abc123",
  "value": {},
  "type": FilterType
}

FilterType

Type of filter

Enum Value Description

number

category

collection

wallet

timestamp

boolean

logical

interval

Flip

Field Name Description
id - String!
marketplace - Int!
collectionId - String!
tokenId - String!
walletId - String!
soldFor - Decimal
soldAt - DateTime
saleGasPaid - Decimal
rank - BigInt
marketplaceFee - Decimal
saleRoyalties - Decimal
purchaseType - String
purchasedFor - Decimal
purchasedAt - DateTime
heldFor - Int!
purchaseGasPaid - Decimal
netProfit - Decimal
saleType - String
collection - Collection!
token - Token!
wallet - Wallet!
Example
{
  "id": "abc123",
  "marketplace": 987,
  "collectionId": "abc123",
  "tokenId": "abc123",
  "walletId": "abc123",
  "soldFor": Decimal,
  "soldAt": DateTime,
  "saleGasPaid": Decimal,
  "rank": BigInt,
  "marketplaceFee": Decimal,
  "saleRoyalties": Decimal,
  "purchaseType": "abc123",
  "purchasedFor": Decimal,
  "purchasedAt": DateTime,
  "heldFor": 123,
  "purchaseGasPaid": Decimal,
  "netProfit": Decimal,
  "saleType": "xyz789",
  "collection": Collection,
  "token": Token,
  "wallet": Wallet
}

FlipListRelationFilter

Input Field Description
every - FlipWhereInput
some - FlipWhereInput
none - FlipWhereInput
Example
{
  "every": FlipWhereInput,
  "some": FlipWhereInput,
  "none": FlipWhereInput
}

FlipOrderByRelationAggregateInput

Input Field Description
_count - SortOrder
Example
{"_count": SortOrder}

FlipOrderByWithRelationInput

Input Field Description
id - SortOrder
marketplace - SortOrder
collectionId - SortOrder
collection - CollectionOrderByWithRelationInput
tokenId - SortOrder
token - TokenOrderByWithRelationInput
walletId - SortOrder
wallet - WalletOrderByWithRelationInput
soldFor - SortOrder
soldAt - SortOrder
saleGasPaid - SortOrder
rank - SortOrder
marketplaceFee - SortOrder
saleRoyalties - SortOrder
purchaseType - SortOrder
purchasedFor - SortOrder
purchasedAt - SortOrder
heldFor - SortOrder
purchaseGasPaid - SortOrder
netProfit - SortOrder
saleType - SortOrder
Example
{
  "id": SortOrder,
  "marketplace": SortOrder,
  "collectionId": SortOrder,
  "collection": CollectionOrderByWithRelationInput,
  "tokenId": SortOrder,
  "token": TokenOrderByWithRelationInput,
  "walletId": SortOrder,
  "wallet": WalletOrderByWithRelationInput,
  "soldFor": SortOrder,
  "soldAt": SortOrder,
  "saleGasPaid": SortOrder,
  "rank": SortOrder,
  "marketplaceFee": SortOrder,
  "saleRoyalties": SortOrder,
  "purchaseType": SortOrder,
  "purchasedFor": SortOrder,
  "purchasedAt": SortOrder,
  "heldFor": SortOrder,
  "purchaseGasPaid": SortOrder,
  "netProfit": SortOrder,
  "saleType": SortOrder
}

FlipScalarFieldEnum

Enum Value Description

id

marketplace

collectionId

tokenId

walletId

soldFor

soldAt

saleGasPaid

rank

marketplaceFee

saleRoyalties

purchaseType

purchasedFor

purchasedAt

heldFor

purchaseGasPaid

netProfit

saleType

FlipWhereInput

Input Field Description
AND - [FlipWhereInput!]
OR - [FlipWhereInput!]
NOT - [FlipWhereInput!]
id - StringFilter
marketplace - IntFilter
collectionId - StringFilter
collection - CollectionRelationFilter
tokenId - StringFilter
token - TokenRelationFilter
walletId - StringFilter
wallet - WalletRelationFilter
soldFor - DecimalNullableFilter
soldAt - DateTimeNullableFilter
saleGasPaid - DecimalNullableFilter
rank - BigIntNullableFilter
marketplaceFee - DecimalNullableFilter
saleRoyalties - DecimalNullableFilter
purchaseType - StringNullableFilter
purchasedFor - DecimalNullableFilter
purchasedAt - DateTimeNullableFilter
heldFor - IntFilter
purchaseGasPaid - DecimalNullableFilter
netProfit - DecimalNullableFilter
saleType - StringNullableFilter
Example
{
  "AND": [FlipWhereInput],
  "OR": [FlipWhereInput],
  "NOT": [FlipWhereInput],
  "id": StringFilter,
  "marketplace": IntFilter,
  "collectionId": StringFilter,
  "collection": CollectionRelationFilter,
  "tokenId": StringFilter,
  "token": TokenRelationFilter,
  "walletId": StringFilter,
  "wallet": WalletRelationFilter,
  "soldFor": DecimalNullableFilter,
  "soldAt": DateTimeNullableFilter,
  "saleGasPaid": DecimalNullableFilter,
  "rank": BigIntNullableFilter,
  "marketplaceFee": DecimalNullableFilter,
  "saleRoyalties": DecimalNullableFilter,
  "purchaseType": StringNullableFilter,
  "purchasedFor": DecimalNullableFilter,
  "purchasedAt": DateTimeNullableFilter,
  "heldFor": IntFilter,
  "purchaseGasPaid": DecimalNullableFilter,
  "netProfit": DecimalNullableFilter,
  "saleType": StringNullableFilter
}

FlipWhereUniqueInput

Input Field Description
id - String
Example
{"id": "abc123"}

Float

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
123.45

FollowedBy

User that is followed

Field Name Description
id - ID! id of the entry in DB
twitterId - String! Twitter API unique identifier of the account
followedById - String! Twitter API account unique identifier of the account who follows this
followedBy - NotableUser! Notable user that follows this twitter account
timestamp - DateTime! Time of data
Example
{
  "id": ID,
  "twitterId": "xyz789",
  "followedById": "abc123",
  "followedBy": NotableUser,
  "timestamp": DateTime
}

FollowedUser

User that is followed

Field Name Description
id - ID! id of the entry in DB
twitterId - String! Twitter API unique identifier of the account
username - String! Twitter API account username
followedByUsername - String! Twitter API account username
followedBy - String! Twitter API account unique identifier of the account who follows this
timestamp - DateTime! Time of data
Example
{
  "id": ID,
  "twitterId": "abc123",
  "username": "abc123",
  "followedByUsername": "abc123",
  "followedBy": "xyz789",
  "timestamp": DateTime
}

ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Example
object

Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
42

IntFilter

Input Field Description
equals - Int
in - [Int!]
notIn - [Int!]
lt - Int
lte - Int
gt - Int
gte - Int
not - NestedIntFilter
Example
{
  "equals": 42,
  "in": [42],
  "notIn": [42],
  "lt": 42,
  "lte": 42,
  "gt": 42,
  "gte": 42,
  "not": NestedIntFilter
}

IntNullableFilter

Input Field Description
equals - Int
in - [Int!]
notIn - [Int!]
lt - Int
lte - Int
gt - Int
gte - Int
not - NestedIntNullableFilter
Example
{
  "equals": 42,
  "in": [42],
  "notIn": [42],
  "lt": 42,
  "lte": 42,
  "gt": 42,
  "gte": 42,
  "not": NestedIntNullableFilter
}

JSON

The JSON scalar type represents JSON values as specified by ECMA-404.

Example
{}

JsonNullableFilter

Input Field Description
equals - JSON
path - [String!]
string_contains - String
string_starts_with - String
string_ends_with - String
array_contains - JSON
array_starts_with - JSON
array_ends_with - JSON
lt - JSON
lte - JSON
gt - JSON
gte - JSON
not - JSON
Example
{
  "equals": {},
  "path": ["abc123"],
  "string_contains": "abc123",
  "string_starts_with": "abc123",
  "string_ends_with": "abc123",
  "array_contains": {},
  "array_starts_with": {},
  "array_ends_with": {},
  "lt": {},
  "lte": {},
  "gt": {},
  "gte": {},
  "not": {}
}

Label

Representation of a single label

Field Name Description
name - String!
displayName - String!
description - String
Example
{"name": "xyz789", "displayName": "abc123", "description": "xyz789"}

LiquidityRank

Enum Value Description

Dead

Low

Medium

High

ListEvent

Field Name Description
id - String!
type - EventType!
value - Float
timestamp - DateTime!
transaction - Transaction
collection - Collection
token - Token
wallet - Wallet
listing - Order
Example
{
  "id": "xyz789",
  "type": EventType,
  "value": 987.65,
  "timestamp": DateTime,
  "transaction": Transaction,
  "collection": Collection,
  "token": Token,
  "wallet": Wallet,
  "listing": Order
}

ListingType

Enum Value Description

NEW

RELIST

ListingsHistogramData

Field Name Description
marketplace - Int!
priceBin - Float!
count - Int!
totalValue - Float!
totalCount - Int!
Example
{
  "marketplace": 987,
  "priceBin": 123.45,
  "count": 987,
  "totalValue": 987.65,
  "totalCount": 987
}

Meta

Field Name Description
eth - SyncStatus!
Example
{"eth": SyncStatus}

MintEvent

Field Name Description
id - String!
type - EventType!
value - Float
timestamp - DateTime!
transaction - Transaction
collection - Collection
token - Token
wallet - Wallet
Example
{
  "id": "xyz789",
  "type": EventType,
  "value": 123.45,
  "timestamp": DateTime,
  "transaction": Transaction,
  "collection": Collection,
  "token": Token,
  "wallet": Wallet
}

MintingCollection

Field Name Description
id - String!
collection - Collection!
mintCount - Int!
firstMintTimestamp - String
lastMintTimestamp - String
uniqueMintersCount - Int!
avgPrice - Float!
avgGas - Float!
mintsPerHour - Float
totalValue - Float!
isNewMint - Boolean!
Example
{
  "id": "abc123",
  "collection": Collection,
  "mintCount": 987,
  "firstMintTimestamp": "xyz789",
  "lastMintTimestamp": "xyz789",
  "uniqueMintersCount": 123,
  "avgPrice": 987.65,
  "avgGas": 987.65,
  "mintsPerHour": 987.65,
  "totalValue": 123.45,
  "isNewMint": false
}

MintingCollectionWithChart

Field Name Description
id - String!
collection - Collection!
firstMintTimestamp - String
lastMintTimestamp - String
totalValue - Float!
mintCount - Int!
uniqueMintersCount - Int!
medianTokensPerTransaction - Int!
avgGas - Float!
avgPrice - Float!
isNewMint - Boolean!
mintsPerHour - Float!
mintPrice - Float
mintRateChart - [ChartData!] Number of mints over time
avgGasChart - [ChartData!] Average gas spent for minting over time
Example
{
  "id": "abc123",
  "collection": Collection,
  "firstMintTimestamp": "xyz789",
  "lastMintTimestamp": "xyz789",
  "totalValue": 987.65,
  "mintCount": 987,
  "uniqueMintersCount": 123,
  "medianTokensPerTransaction": 987,
  "avgGas": 987.65,
  "avgPrice": 987.65,
  "isNewMint": false,
  "mintsPerHour": 987.65,
  "mintPrice": 123.45,
  "mintRateChart": [ChartData],
  "avgGasChart": [ChartData]
}

NestedBigIntFilter

Input Field Description
equals - BigInt
in - [BigInt!]
notIn - [BigInt!]
lt - BigInt
lte - BigInt
gt - BigInt
gte - BigInt
not - NestedBigIntFilter
Example
{
  "equals": BigInt,
  "in": [BigInt],
  "notIn": [BigInt],
  "lt": BigInt,
  "lte": BigInt,
  "gt": BigInt,
  "gte": BigInt,
  "not": NestedBigIntFilter
}

NestedBigIntNullableFilter

Input Field Description
equals - BigInt
in - [BigInt!]
notIn - [BigInt!]
lt - BigInt
lte - BigInt
gt - BigInt
gte - BigInt
not - NestedBigIntNullableFilter
Example
{
  "equals": BigInt,
  "in": [BigInt],
  "notIn": [BigInt],
  "lt": BigInt,
  "lte": BigInt,
  "gt": BigInt,
  "gte": BigInt,
  "not": NestedBigIntNullableFilter
}

NestedBoolFilter

Input Field Description
equals - Boolean
not - NestedBoolFilter
Example
{"equals": false, "not": NestedBoolFilter}

NestedBoolNullableFilter

Input Field Description
equals - Boolean
not - NestedBoolNullableFilter
Example
{"equals": true, "not": NestedBoolNullableFilter}

NestedDateTimeFilter

Input Field Description
equals - DateTime
in - [DateTime!]
notIn - [DateTime!]
lt - DateTime
lte - DateTime
gt - DateTime
gte - DateTime
not - NestedDateTimeFilter
Example
{
  "equals": DateTime,
  "in": [DateTime],
  "notIn": [DateTime],
  "lt": DateTime,
  "lte": DateTime,
  "gt": DateTime,
  "gte": DateTime,
  "not": NestedDateTimeFilter
}

NestedDateTimeNullableFilter

Input Field Description
equals - DateTime
in - [DateTime!]
notIn - [DateTime!]
lt - DateTime
lte - DateTime
gt - DateTime
gte - DateTime
not - NestedDateTimeNullableFilter
Example
{
  "equals": DateTime,
  "in": [DateTime],
  "notIn": [DateTime],
  "lt": DateTime,
  "lte": DateTime,
  "gt": DateTime,
  "gte": DateTime,
  "not": NestedDateTimeNullableFilter
}

NestedDecimalFilter

Input Field Description
equals - Decimal
in - [Decimal!]
notIn - [Decimal!]
lt - Decimal
lte - Decimal
gt - Decimal
gte - Decimal
not - NestedDecimalFilter
Example
{
  "equals": Decimal,
  "in": [Decimal],
  "notIn": [Decimal],
  "lt": Decimal,
  "lte": Decimal,
  "gt": Decimal,
  "gte": Decimal,
  "not": NestedDecimalFilter
}

NestedDecimalNullableFilter

Input Field Description
equals - Decimal
in - [Decimal!]
notIn - [Decimal!]
lt - Decimal
lte - Decimal
gt - Decimal
gte - Decimal
not - NestedDecimalNullableFilter
Example
{
  "equals": Decimal,
  "in": [Decimal],
  "notIn": [Decimal],
  "lt": Decimal,
  "lte": Decimal,
  "gt": Decimal,
  "gte": Decimal,
  "not": NestedDecimalNullableFilter
}

NestedEnumOrderSideFilter

Input Field Description
equals - OrderSide
in - [OrderSide!]
notIn - [OrderSide!]
not - NestedEnumOrderSideFilter
Example
{
  "equals": OrderSide,
  "in": [OrderSide],
  "notIn": [OrderSide],
  "not": NestedEnumOrderSideFilter
}

NestedEnumOrderStatusFilter

Input Field Description
equals - OrderStatus
in - [OrderStatus!]
notIn - [OrderStatus!]
not - NestedEnumOrderStatusFilter
Example
{
  "equals": OrderStatus,
  "in": [OrderStatus],
  "notIn": [OrderStatus],
  "not": NestedEnumOrderStatusFilter
}

NestedIntFilter

Input Field Description
equals - Int
in -