Art Blocks GraphQL API Docs

This doc provides an overview of the public GraphQL API for Art Blocks. For a broader guide to all our APIs please visit our api overview

Contact

API Support

eng@artblocks.io

API Endpoints
# Production:
https://artblocks-mainnet.hasura.app/v1/graphql

Queries

article

Response

Returns an ArticleEntityResponse

Arguments
Name Description
id - ID

Example

Query
query article($id: ID) {
  article(id: $id) {
    data {
      ...ArticleEntityFragment
    }
  }
}
Variables
{"id": "4"}
Response
{"data": {"article": {"data": ArticleEntity}}}

articles

Response

Returns an ArticleEntityResponseCollection

Arguments
Name Description
publicationState - PublicationState Default = LIVE
sort - [String] Default = []

Example

Query
query articles(
  $publicationState: PublicationState,
  $sort: [String]
) {
  articles(
    publicationState: $publicationState,
    sort: $sort
  ) {
    data {
      ...ArticleEntityFragment
    }
    meta {
      ...ResponseCollectionMetaFragment
    }
  }
}
Variables
{"publicationState": "LIVE", "sort": [""]}
Response
{
  "data": {
    "articles": {
      "data": [ArticleEntity],
      "meta": ResponseCollectionMeta
    }
  }
}

artistEditorialPage

Response

Returns an ArtistEditorialPageEntityResponse

Arguments
Name Description
id - ID

Example

Query
query artistEditorialPage($id: ID) {
  artistEditorialPage(id: $id) {
    data {
      ...ArtistEditorialPageEntityFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "artistEditorialPage": {
      "data": ArtistEditorialPageEntity
    }
  }
}

artistEditorialPages

Arguments
Name Description
publicationState - PublicationState Default = LIVE
sort - [String] Default = []

Example

Query
query artistEditorialPages(
  $publicationState: PublicationState,
  $sort: [String]
) {
  artistEditorialPages(
    publicationState: $publicationState,
    sort: $sort
  ) {
    data {
      ...ArtistEditorialPageEntityFragment
    }
    meta {
      ...ResponseCollectionMetaFragment
    }
  }
}
Variables
{"publicationState": "LIVE", "sort": [""]}
Response
{
  "data": {
    "artistEditorialPages": {
      "data": [ArtistEditorialPageEntity],
      "meta": ResponseCollectionMeta
    }
  }
}

artists

Description

fetch data from the table: "artists"

Response

Returns [artists!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query artists(
  $limit: Int,
  $offset: Int
) {
  artists(
    limit: $limit,
    offset: $offset
  ) {
    created_at
    is_ab_staff
    is_curator
    most_recent_hosted_project {
      ...projects_metadataFragment
    }
    most_recent_hosted_project_id
    most_recent_project {
      ...projects_metadataFragment
    }
    most_recent_project_id
    projects {
      ...projects_metadataFragment
    }
    public_address
    tos_accepted_at
    user {
      ...usersFragment
    }
    viewed_warning_banner
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "artists": [
      {
        "created_at": timestamptz,
        "is_ab_staff": false,
        "is_curator": false,
        "most_recent_hosted_project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "most_recent_hosted_project_id": "Example....1..2..3...",
        "most_recent_project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "most_recent_project_id": "Example....1..2..3...",
        "projects": [
          {
            "activated_at": "2022-09-16T19:33:12+00:00",
            "active": false,
            "additional_payee": "0x000000000000000000000000000000000000dEaD",
            "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
            "projectId": "0",
            "additionalPayee": null,
            "curationStatus": null,
            "name": "Sacred Trees",
            "artistName": "hideo",
            "complete": false,
            "currencySymbol": "LEGEND",
            "license": "CC BY-NC-SA 4.0",
            "aspectRatio": null,
            "maxInvocations": "1024",
            "paused": false,
            "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
            "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
            "additionalPayeePercentage": null,
            "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
            "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
            "royaltyPercentage": "5",
            "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
            "website": "https://legendsofmetaterra.com/pbab/project/0",
            "ipfsHash": null,
            "scriptTypeAndVersion": null
          }
        ],
        "public_address": "Example....1..2..3...",
        "tos_accepted_at": timestamptz,
        "user": users,
        "viewed_warning_banner": false
      }
    ]
  }
}

bid_types

Description

fetch data from the table: "bid_types"

Response

Returns [bid_types!]!

Arguments
Name Description
distinct_on - [bid_types_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query bid_types(
  $distinct_on: [bid_types_select_column!],
  $limit: Int,
  $offset: Int
) {
  bid_types(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    type
  }
}
Variables
{"distinct_on": ["type"], "limit": 123, "offset": 123}
Response
{
  "data": {
    "bid_types": [
      {"type": "Example....1..2..3..."}
    ]
  }
}

bid_types_by_pk

Description

fetch data from the table: "bid_types" using primary key columns

Response

Returns a bid_types

Arguments
Name Description
type - String!

Example

Query
query bid_types_by_pk($type: String!) {
  bid_types_by_pk(type: $type) {
    type
  }
}
Variables
{"type": "Example....1..2..3..."}
Response
{
  "data": {
    "bid_types_by_pk": {
      "type": "Example....1..2..3..."
    }
  }
}

bids_metadata

Description

fetch data from the table: "bids_metadata"

Response

Returns [bids_metadata!]!

Arguments
Name Description
distinct_on - [bids_metadata_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query bids_metadata(
  $distinct_on: [bids_metadata_select_column!],
  $limit: Int,
  $offset: Int
) {
  bids_metadata(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    bid_type
    bid_value
    bidder_address
    core_contract {
      ...contracts_metadataFragment
    }
    core_contract_address
    id
    is_removed
    minter {
      ...minters_metadataFragment
    }
    minter_address
    project {
      ...projects_metadataFragment
    }
    project_id
    ranking
    settled
    slot_index
    time_of_bid
    token {
      ...tokens_metadataFragment
    }
    token_id
    user {
      ...usersFragment
    }
    winning_bid
  }
}
Variables
{"distinct_on": ["bid_type"], "limit": 987, "offset": 123}
Response
{
  "data": {
    "bids_metadata": [
      {
        "bid_type": "RAM",
        "bid_value": "Example....1..2..3...",
        "bidder_address": "Example....1..2..3...",
        "core_contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "core_contract_address": "Example....1..2..3...",
        "id": "Example....1..2..3...",
        "is_removed": true,
        "minter": {
          "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
          "minimum_auction_length_in_seconds": 3600,
          "minter_type": "MinterDALinV1",
          "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
          "maximum_price_decay_half_life_in_seconds": 3600,
          "minimum_price_decay_half_life_in_seconds": 300,
          "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
          "extra_minter_details": "{...}"
        },
        "minter_address": "Example....1..2..3...",
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3...",
        "ranking": 987,
        "settled": false,
        "slot_index": bigint,
        "time_of_bid": timestamptz,
        "token": {
          "features": {
            "Color": "Gradient",
            "Grain": "Medium",
            "Style": "Company"
          },
          "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
          "invocation": "100",
          "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
          "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
          "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
          "favorited_by_user": false,
          "isFlaggedAsSuspicious": null,
          "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
          "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
          "minted_at": "2022-09-08T19:53:24+00:00"
        },
        "token_id": "Example....1..2..3...",
        "user": users,
        "winning_bid": true
      }
    ]
  }
}

bids_metadata_aggregate

Description

fetch aggregated fields from the table: "bids_metadata"

Response

Returns a bids_metadata_aggregate!

Arguments
Name Description
distinct_on - [bids_metadata_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query bids_metadata_aggregate(
  $distinct_on: [bids_metadata_select_column!],
  $limit: Int,
  $offset: Int
) {
  bids_metadata_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    aggregate {
      ...bids_metadata_aggregate_fieldsFragment
    }
    nodes {
      ...bids_metadataFragment
    }
  }
}
Variables
{"distinct_on": ["bid_type"], "limit": 987, "offset": 987}
Response
{
  "data": {
    "bids_metadata_aggregate": {
      "aggregate": bids_metadata_aggregate_fields,
      "nodes": [bids_metadata]
    }
  }
}

bids_metadata_by_pk

Description

fetch data from the table: "bids_metadata" using primary key columns

Response

Returns a bids_metadata

Arguments
Name Description
id - String!

Example

Query
query bids_metadata_by_pk($id: String!) {
  bids_metadata_by_pk(id: $id) {
    bid_type
    bid_value
    bidder_address
    core_contract {
      ...contracts_metadataFragment
    }
    core_contract_address
    id
    is_removed
    minter {
      ...minters_metadataFragment
    }
    minter_address
    project {
      ...projects_metadataFragment
    }
    project_id
    ranking
    settled
    slot_index
    time_of_bid
    token {
      ...tokens_metadataFragment
    }
    token_id
    user {
      ...usersFragment
    }
    winning_bid
  }
}
Variables
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "bids_metadata_by_pk": {
      "bid_type": "RAM",
      "bid_value": "Example....1..2..3...",
      "bidder_address": "Example....1..2..3...",
      "core_contract": {
        "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
        "updated_at": "2023-03-30T20:22:01.629861",
        "bucket_name": "art-blocks-dev-goerli",
        "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_percentage": 10,
        "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
        "generator_url": "https://generator.artblocks.io",
        "default_vertical_name": "presents",
        "contract_type": "GenArt721CoreV3",
        "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
        "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
        "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_secondary_sales_bps": 251,
        "new_projects_forbidden_onchain": false,
        "new_projects_forbidden_offchain": false,
        "preferred_ipfs_gateway": null,
        "preferred_arweave_gateway": null
      },
      "core_contract_address": "Example....1..2..3...",
      "id": "Example....1..2..3...",
      "is_removed": false,
      "minter": {
        "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
        "minimum_auction_length_in_seconds": 3600,
        "minter_type": "MinterDALinV1",
        "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
        "maximum_price_decay_half_life_in_seconds": 3600,
        "minimum_price_decay_half_life_in_seconds": 300,
        "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
        "extra_minter_details": "{...}"
      },
      "minter_address": "Example....1..2..3...",
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3...",
      "ranking": 123,
      "settled": true,
      "slot_index": bigint,
      "time_of_bid": timestamptz,
      "token": {
        "features": {
          "Color": "Gradient",
          "Grain": "Medium",
          "Style": "Company"
        },
        "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
        "invocation": "100",
        "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
        "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
        "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
        "favorited_by_user": false,
        "isFlaggedAsSuspicious": null,
        "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
        "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
        "minted_at": "2022-09-08T19:53:24+00:00"
      },
      "token_id": "Example....1..2..3...",
      "user": users,
      "winning_bid": false
    }
  }
}

categories

Description

fetch data from the table: "categories"

Response

Returns [categories!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query categories(
  $limit: Int,
  $offset: Int
) {
  categories(
    limit: $limit,
    offset: $offset
  ) {
    name
    project_vertical_category {
      ...project_vertical_categoriesFragment
    }
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "categories": [
      {
        "name": "Example....1..2..3...",
        "project_vertical_category": project_vertical_categories
      }
    ]
  }
}

categories_by_pk

Description

fetch data from the table: "categories" using primary key columns

Response

Returns a categories

Arguments
Name Description
name - String!

Example

Query
query categories_by_pk($name: String!) {
  categories_by_pk(name: $name) {
    name
    project_vertical_category {
      ...project_vertical_categoriesFragment
    }
  }
}
Variables
{"name": "Example....1..2..3..."}
Response
{
  "data": {
    "categories_by_pk": {
      "name": "Example....1..2..3...",
      "project_vertical_category": project_vertical_categories
    }
  }
}

contract_allowlistings

Description

fetch data from the table: "contract_allowlistings"

Response

Returns [contract_allowlistings!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query contract_allowlistings(
  $limit: Int,
  $offset: Int
) {
  contract_allowlistings(
    limit: $limit,
    offset: $offset
  ) {
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    user {
      ...usersFragment
    }
    user_address
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "contract_allowlistings": [
      {
        "contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "contract_address": "Example....1..2..3...",
        "user": users,
        "user_address": "Example....1..2..3..."
      }
    ]
  }
}

contract_allowlistings_by_pk

Description

fetch data from the table: "contract_allowlistings" using primary key columns

Response

Returns a contract_allowlistings

Arguments
Name Description
contract_address - String!
user_address - String!

Example

Query
query contract_allowlistings_by_pk(
  $contract_address: String!,
  $user_address: String!
) {
  contract_allowlistings_by_pk(
    contract_address: $contract_address,
    user_address: $user_address
  ) {
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    user {
      ...usersFragment
    }
    user_address
  }
}
Variables
{
  "contract_address": "Example....1..2..3...",
  "user_address": "Example....1..2..3..."
}
Response
{
  "data": {
    "contract_allowlistings_by_pk": {
      "contract": {
        "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
        "updated_at": "2023-03-30T20:22:01.629861",
        "bucket_name": "art-blocks-dev-goerli",
        "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_percentage": 10,
        "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
        "generator_url": "https://generator.artblocks.io",
        "default_vertical_name": "presents",
        "contract_type": "GenArt721CoreV3",
        "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
        "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
        "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_secondary_sales_bps": 251,
        "new_projects_forbidden_onchain": false,
        "new_projects_forbidden_offchain": false,
        "preferred_ipfs_gateway": null,
        "preferred_arweave_gateway": null
      },
      "contract_address": "Example....1..2..3...",
      "user": users,
      "user_address": "Example....1..2..3..."
    }
  }
}

contract_type_names

Description

fetch data from the table: "contract_type_names"

Response

Returns [contract_type_names!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query contract_type_names(
  $limit: Int,
  $offset: Int
) {
  contract_type_names(
    limit: $limit,
    offset: $offset
  ) {
    name
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "contract_type_names": [
      {"name": "Example....1..2..3..."}
    ]
  }
}

contract_type_names_by_pk

Description

fetch data from the table: "contract_type_names" using primary key columns

Response

Returns a contract_type_names

Arguments
Name Description
name - String!

Example

Query
query contract_type_names_by_pk($name: String!) {
  contract_type_names_by_pk(name: $name) {
    name
  }
}
Variables
{"name": "Example....1..2..3..."}
Response
{
  "data": {
    "contract_type_names_by_pk": {
      "name": "Example....1..2..3..."
    }
  }
}

contract_types

Description

fetch data from the table: "contract_types"

Response

Returns [contract_types!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query contract_types(
  $limit: Int,
  $offset: Int
) {
  contract_types(
    limit: $limit,
    offset: $offset
  ) {
    abi
    project_configuration_schema
    type
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "contract_types": [
      {
        "abi": jsonb,
        "project_configuration_schema": jsonb,
        "type": "GenArt721CoreV0"
      }
    ]
  }
}

contract_types_by_pk

Description

fetch data from the table: "contract_types" using primary key columns

Response

Returns a contract_types

Arguments
Name Description
type - contract_type_names_enum!

Example

Query
query contract_types_by_pk($type: contract_type_names_enum!) {
  contract_types_by_pk(type: $type) {
    abi
    project_configuration_schema
    type
  }
}
Variables
{"type": "GenArt721CoreV0"}
Response
{
  "data": {
    "contract_types_by_pk": {
      "abi": jsonb,
      "project_configuration_schema": jsonb,
      "type": "GenArt721CoreV0"
    }
  }
}

contracts_metadata

Description

fetch data from the table: "contracts_metadata"

Response

Returns [contracts_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query contracts_metadata(
  $limit: Int,
  $offset: Int
) {
  contracts_metadata(
    limit: $limit,
    offset: $offset
  ) {
    address
    admin
    allowlisted_users {
      ...contract_allowlistingsFragment
    }
    bucket_name
    contract_type
    core_version
    curation_registry_address
    default_vertical {
      ...project_verticalsFragment
    }
    dependency_registry_address
    generator_url
    minter_address
    minter_filter {
      ...minter_filters_metadataFragment
    }
    minter_filter_address
    name
    new_projects_forbidden
    new_projects_forbidden_offchain
    new_projects_forbidden_onchain
    partner_id
    preferred_arweave_gateway
    preferred_ipfs_gateway
    projects {
      ...projects_metadataFragment
    }
    render_provider_address
    render_provider_percentage
    render_provider_secondary_sales_address
    render_provider_secondary_sales_bps
    royalty_split_provider
    token_base_url
    type {
      ...contract_typesFragment
    }
    updated_at
    user_is_allowlisted
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "contracts_metadata": [
      {
        "address": "Example....1..2..3...",
        "admin": "Example....1..2..3...",
        "allowlisted_users": [contract_allowlistings],
        "bucket_name": "Example....1..2..3...",
        "contract_type": "GenArt721CoreV0",
        "core_version": "Example....1..2..3...",
        "curation_registry_address": "Example....1..2..3...",
        "default_vertical": project_verticals,
        "dependency_registry_address": "Example....1..2..3...",
        "generator_url": "Example....1..2..3...",
        "minter_address": "Example....1..2..3...",
        "minter_filter": {
          "address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "allowed_minters": [
            {
              "address": "0x9ff63446d56c608252fb8cb5772c849860843a46",
              "minter_type": "MinterDAExpV4",
              "type": {
                "label": "Dutch auction - exponential price decrease",
                "unversioned_type": "MinterDAExp"
              },
              "version_number": 4
            },
            {
              "address": "0x73873eaaf65338256e31b1e612ac74d09492b5b8",
              "minter_type": "MinterDALinV2",
              "type": {
                "label": "Dutch auction - linear price decrease",
                "unversioned_type": "MinterDALin"
              },
              "version_number": 2
            }
          ]
        },
        "minter_filter_address": "Example....1..2..3...",
        "name": "Example....1..2..3...",
        "new_projects_forbidden": true,
        "new_projects_forbidden_offchain": true,
        "new_projects_forbidden_onchain": false,
        "partner_id": 987,
        "preferred_arweave_gateway": "Example....1..2..3...",
        "preferred_ipfs_gateway": "Example....1..2..3...",
        "projects": [
          {
            "activated_at": "2022-09-16T19:33:12+00:00",
            "active": false,
            "additional_payee": "0x000000000000000000000000000000000000dEaD",
            "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
            "projectId": "0",
            "additionalPayee": null,
            "curationStatus": null,
            "name": "Sacred Trees",
            "artistName": "hideo",
            "complete": false,
            "currencySymbol": "LEGEND",
            "license": "CC BY-NC-SA 4.0",
            "aspectRatio": null,
            "maxInvocations": "1024",
            "paused": false,
            "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
            "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
            "additionalPayeePercentage": null,
            "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
            "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
            "royaltyPercentage": "5",
            "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
            "website": "https://legendsofmetaterra.com/pbab/project/0",
            "ipfsHash": null,
            "scriptTypeAndVersion": null
          }
        ],
        "render_provider_address": "Example....1..2..3...",
        "render_provider_percentage": 123,
        "render_provider_secondary_sales_address": "Example....1..2..3...",
        "render_provider_secondary_sales_bps": 987,
        "royalty_split_provider": "Example....1..2..3...",
        "token_base_url": "Example....1..2..3...",
        "type": contract_types,
        "updated_at": "2022-09-16T19:33:12+00:00",
        "user_is_allowlisted": true
      }
    ]
  }
}

contracts_metadata_by_pk

Description

fetch data from the table: "contracts_metadata" using primary key columns

Response

Returns a contracts_metadata

Arguments
Name Description
address - String!

Example

Query
query contracts_metadata_by_pk($address: String!) {
  contracts_metadata_by_pk(address: $address) {
    address
    admin
    allowlisted_users {
      ...contract_allowlistingsFragment
    }
    bucket_name
    contract_type
    core_version
    curation_registry_address
    default_vertical {
      ...project_verticalsFragment
    }
    dependency_registry_address
    generator_url
    minter_address
    minter_filter {
      ...minter_filters_metadataFragment
    }
    minter_filter_address
    name
    new_projects_forbidden
    new_projects_forbidden_offchain
    new_projects_forbidden_onchain
    partner_id
    preferred_arweave_gateway
    preferred_ipfs_gateway
    projects {
      ...projects_metadataFragment
    }
    render_provider_address
    render_provider_percentage
    render_provider_secondary_sales_address
    render_provider_secondary_sales_bps
    royalty_split_provider
    token_base_url
    type {
      ...contract_typesFragment
    }
    updated_at
    user_is_allowlisted
  }
}
Variables
{"address": "Example....1..2..3..."}
Response
{
  "data": {
    "contracts_metadata_by_pk": {
      "address": "Example....1..2..3...",
      "admin": "Example....1..2..3...",
      "allowlisted_users": [contract_allowlistings],
      "bucket_name": "Example....1..2..3...",
      "contract_type": "GenArt721CoreV0",
      "core_version": "Example....1..2..3...",
      "curation_registry_address": "Example....1..2..3...",
      "default_vertical": project_verticals,
      "dependency_registry_address": "Example....1..2..3...",
      "generator_url": "Example....1..2..3...",
      "minter_address": "Example....1..2..3...",
      "minter_filter": {
        "address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
        "allowed_minters": [
          {
            "address": "0x9ff63446d56c608252fb8cb5772c849860843a46",
            "minter_type": "MinterDAExpV4",
            "type": {
              "label": "Dutch auction - exponential price decrease",
              "unversioned_type": "MinterDAExp"
            },
            "version_number": 4
          },
          {
            "address": "0x73873eaaf65338256e31b1e612ac74d09492b5b8",
            "minter_type": "MinterDALinV2",
            "type": {
              "label": "Dutch auction - linear price decrease",
              "unversioned_type": "MinterDALin"
            },
            "version_number": 2
          }
        ]
      },
      "minter_filter_address": "Example....1..2..3...",
      "name": "Example....1..2..3...",
      "new_projects_forbidden": false,
      "new_projects_forbidden_offchain": true,
      "new_projects_forbidden_onchain": true,
      "partner_id": 123,
      "preferred_arweave_gateway": "Example....1..2..3...",
      "preferred_ipfs_gateway": "Example....1..2..3...",
      "projects": [
        {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        }
      ],
      "render_provider_address": "Example....1..2..3...",
      "render_provider_percentage": 987,
      "render_provider_secondary_sales_address": "Example....1..2..3...",
      "render_provider_secondary_sales_bps": 987,
      "royalty_split_provider": "Example....1..2..3...",
      "token_base_url": "Example....1..2..3...",
      "type": contract_types,
      "updated_at": "2022-09-16T19:33:12+00:00",
      "user_is_allowlisted": false
    }
  }
}

curatedHomePage

Response

Returns a CuratedHomePageEntityResponse

Arguments
Name Description
publicationState - PublicationState Default = LIVE

Example

Query
query curatedHomePage($publicationState: PublicationState) {
  curatedHomePage(publicationState: $publicationState) {
    data {
      ...CuratedHomePageEntityFragment
    }
  }
}
Variables
{"publicationState": "LIVE"}
Response
{
  "data": {
    "curatedHomePage": {"data": CuratedHomePageEntity}
  }
}

dependencies_metadata

Description

fetch data from the table: "dependencies_metadata"

Response

Returns [dependencies_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query dependencies_metadata(
  $limit: Int,
  $offset: Int
) {
  dependencies_metadata(
    limit: $limit,
    offset: $offset
  ) {
    additional_cdns {
      ...dependency_additional_cdnsFragment
    }
    additional_repositories {
      ...dependency_additional_repositoriesFragment
    }
    dependency_registry {
      ...dependency_registriesFragment
    }
    dependency_registry_address
    license_type
    name_and_version
    preferred_cdn
    preferred_repository
    script
    scripts {
      ...dependency_scriptsFragment
    }
    updated_at
    updated_onchain_at
    website
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "dependencies_metadata": [
      {
        "additional_cdns": [dependency_additional_cdns],
        "additional_repositories": [
          dependency_additional_repositories
        ],
        "dependency_registry": dependency_registries,
        "dependency_registry_address": "Example....1..2..3...",
        "license_type": "Example....1..2..3...",
        "name_and_version": "Example....1..2..3...",
        "preferred_cdn": "Example....1..2..3...",
        "preferred_repository": "Example....1..2..3...",
        "script": "Example....1..2..3...",
        "scripts": [dependency_scripts],
        "updated_at": timestamptz,
        "updated_onchain_at": timestamptz,
        "website": "Example....1..2..3..."
      }
    ]
  }
}

dependencies_metadata_by_pk

Description

fetch data from the table: "dependencies_metadata" using primary key columns

Response

Returns a dependencies_metadata

Arguments
Name Description
name_and_version - String!

Example

Query
query dependencies_metadata_by_pk($name_and_version: String!) {
  dependencies_metadata_by_pk(name_and_version: $name_and_version) {
    additional_cdns {
      ...dependency_additional_cdnsFragment
    }
    additional_repositories {
      ...dependency_additional_repositoriesFragment
    }
    dependency_registry {
      ...dependency_registriesFragment
    }
    dependency_registry_address
    license_type
    name_and_version
    preferred_cdn
    preferred_repository
    script
    scripts {
      ...dependency_scriptsFragment
    }
    updated_at
    updated_onchain_at
    website
  }
}
Variables
{
  "name_and_version": "Example....1..2..3..."
}
Response
{
  "data": {
    "dependencies_metadata_by_pk": {
      "additional_cdns": [dependency_additional_cdns],
      "additional_repositories": [
        dependency_additional_repositories
      ],
      "dependency_registry": dependency_registries,
      "dependency_registry_address": "Example....1..2..3...",
      "license_type": "Example....1..2..3...",
      "name_and_version": "Example....1..2..3...",
      "preferred_cdn": "Example....1..2..3...",
      "preferred_repository": "Example....1..2..3...",
      "script": "Example....1..2..3...",
      "scripts": [dependency_scripts],
      "updated_at": timestamptz,
      "updated_onchain_at": timestamptz,
      "website": "Example....1..2..3..."
    }
  }
}

dependency_additional_cdns

Description

fetch data from the table: "dependency_additional_cdns"

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query dependency_additional_cdns(
  $limit: Int,
  $offset: Int
) {
  dependency_additional_cdns(
    limit: $limit,
    offset: $offset
  ) {
    cdn
    dependency_name_and_version
    index
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "dependency_additional_cdns": [
      {
        "cdn": "Example....1..2..3...",
        "dependency_name_and_version": "Example....1..2..3...",
        "index": 123
      }
    ]
  }
}

dependency_additional_cdns_by_pk

Description

fetch data from the table: "dependency_additional_cdns" using primary key columns

Response

Returns a dependency_additional_cdns

Arguments
Name Description
dependency_name_and_version - String!
index - Int!

Example

Query
query dependency_additional_cdns_by_pk(
  $dependency_name_and_version: String!,
  $index: Int!
) {
  dependency_additional_cdns_by_pk(
    dependency_name_and_version: $dependency_name_and_version,
    index: $index
  ) {
    cdn
    dependency_name_and_version
    index
  }
}
Variables
{
  "dependency_name_and_version": "Example....1..2..3...",
  "index": 987
}
Response
{
  "data": {
    "dependency_additional_cdns_by_pk": {
      "cdn": "Example....1..2..3...",
      "dependency_name_and_version": "Example....1..2..3...",
      "index": 987
    }
  }
}

dependency_additional_repositories

Description

fetch data from the table: "dependency_additional_repositories"

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query dependency_additional_repositories(
  $limit: Int,
  $offset: Int
) {
  dependency_additional_repositories(
    limit: $limit,
    offset: $offset
  ) {
    dependency_name_and_version
    index
    repository
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "dependency_additional_repositories": [
      {
        "dependency_name_and_version": "Example....1..2..3...",
        "index": 123,
        "repository": "Example....1..2..3..."
      }
    ]
  }
}

dependency_additional_repositories_by_pk

Description

fetch data from the table: "dependency_additional_repositories" using primary key columns

Arguments
Name Description
dependency_name_and_version - String!
index - Int!

Example

Query
query dependency_additional_repositories_by_pk(
  $dependency_name_and_version: String!,
  $index: Int!
) {
  dependency_additional_repositories_by_pk(
    dependency_name_and_version: $dependency_name_and_version,
    index: $index
  ) {
    dependency_name_and_version
    index
    repository
  }
}
Variables
{
  "dependency_name_and_version": "Example....1..2..3...",
  "index": 987
}
Response
{
  "data": {
    "dependency_additional_repositories_by_pk": {
      "dependency_name_and_version": "Example....1..2..3...",
      "index": 123,
      "repository": "Example....1..2..3..."
    }
  }
}

dependency_registries

Description

fetch data from the table: "dependency_registries"

Response

Returns [dependency_registries!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query dependency_registries(
  $limit: Int,
  $offset: Int
) {
  dependency_registries(
    limit: $limit,
    offset: $offset
  ) {
    address
    dependencies {
      ...dependencies_metadataFragment
    }
    owner
    supported_core_contracts {
      ...contracts_metadataFragment
    }
    updated_at
    updated_onchain_at
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "dependency_registries": [
      {
        "address": "Example....1..2..3...",
        "dependencies": [
          {
            "type_and_version": "three@0.124.0",
            "preferred_cdn": "https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.min.js",
            "preferred_repository": "https://github.com/mrdoob/three.js",
            "reference_website": null,
            "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
            "updated_at": "2023-02-07T20:56:36.768687+00:00",
            "updated_onchain_at": "2023-02-07T20:54:48+00:00",
            "script": "{/**//*! p5.js v1.0.0 February 29, 2020 */ !function(e){if('object'==type....}"
          }
        ],
        "owner": "Example....1..2..3...",
        "supported_core_contracts": [
          {
            "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
            "updated_at": "2023-03-30T20:22:01.629861",
            "bucket_name": "art-blocks-dev-goerli",
            "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
            "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
            "render_provider_percentage": 10,
            "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
            "generator_url": "https://generator.artblocks.io",
            "default_vertical_name": "presents",
            "contract_type": "GenArt721CoreV3",
            "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
            "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
            "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
            "render_provider_secondary_sales_bps": 251,
            "new_projects_forbidden_onchain": false,
            "new_projects_forbidden_offchain": false,
            "preferred_ipfs_gateway": null,
            "preferred_arweave_gateway": null
          }
        ],
        "updated_at": timestamptz,
        "updated_onchain_at": timestamptz
      }
    ]
  }
}

dependency_registries_by_pk

Description

fetch data from the table: "dependency_registries" using primary key columns

Response

Returns a dependency_registries

Arguments
Name Description
address - String!

Example

Query
query dependency_registries_by_pk($address: String!) {
  dependency_registries_by_pk(address: $address) {
    address
    dependencies {
      ...dependencies_metadataFragment
    }
    owner
    supported_core_contracts {
      ...contracts_metadataFragment
    }
    updated_at
    updated_onchain_at
  }
}
Variables
{"address": "Example....1..2..3..."}
Response
{
  "data": {
    "dependency_registries_by_pk": {
      "address": "Example....1..2..3...",
      "dependencies": [
        {
          "type_and_version": "three@0.124.0",
          "preferred_cdn": "https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.min.js",
          "preferred_repository": "https://github.com/mrdoob/three.js",
          "reference_website": null,
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "updated_at": "2023-02-07T20:56:36.768687+00:00",
          "updated_onchain_at": "2023-02-07T20:54:48+00:00",
          "script": "{/**//*! p5.js v1.0.0 February 29, 2020 */ !function(e){if('object'==type....}"
        }
      ],
      "owner": "Example....1..2..3...",
      "supported_core_contracts": [
        {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        }
      ],
      "updated_at": timestamptz,
      "updated_onchain_at": timestamptz
    }
  }
}

dependency_scripts

Description

fetch data from the table: "dependency_scripts"

Response

Returns [dependency_scripts!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query dependency_scripts(
  $limit: Int,
  $offset: Int
) {
  dependency_scripts(
    limit: $limit,
    offset: $offset
  ) {
    address
    dependency_name_and_version
    index
    script
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "dependency_scripts": [
      {
        "address": "Example....1..2..3...",
        "dependency_name_and_version": "Example....1..2..3...",
        "index": 987,
        "script": "Example....1..2..3..."
      }
    ]
  }
}

dependency_scripts_by_pk

Description

fetch data from the table: "dependency_scripts" using primary key columns

Response

Returns a dependency_scripts

Arguments
Name Description
dependency_name_and_version - String!
index - Int!

Example

Query
query dependency_scripts_by_pk(
  $dependency_name_and_version: String!,
  $index: Int!
) {
  dependency_scripts_by_pk(
    dependency_name_and_version: $dependency_name_and_version,
    index: $index
  ) {
    address
    dependency_name_and_version
    index
    script
  }
}
Variables
{
  "dependency_name_and_version": "Example....1..2..3...",
  "index": 987
}
Response
{
  "data": {
    "dependency_scripts_by_pk": {
      "address": "Example....1..2..3...",
      "dependency_name_and_version": "Example....1..2..3...",
      "index": 123,
      "script": "Example....1..2..3..."
    }
  }
}

entity_tags

Description

An array relationship

Response

Returns [entity_tags!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query entity_tags(
  $limit: Int,
  $offset: Int
) {
  entity_tags(
    limit: $limit,
    offset: $offset
  ) {
    id
    project {
      ...projects_metadataFragment
    }
    project_id
    tag {
      ...tagsFragment
    }
    tag_name
    user {
      ...usersFragment
    }
    user_address
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "entity_tags": [
      {
        "id": 987,
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3...",
        "tag": tags,
        "tag_name": "Example....1..2..3...",
        "user": users,
        "user_address": "Example....1..2..3..."
      }
    ]
  }
}

entity_tags_by_pk

Description

fetch data from the table: "entity_tags" using primary key columns

Response

Returns an entity_tags

Arguments
Name Description
id - Int!

Example

Query
query entity_tags_by_pk($id: Int!) {
  entity_tags_by_pk(id: $id) {
    id
    project {
      ...projects_metadataFragment
    }
    project_id
    tag {
      ...tagsFragment
    }
    tag_name
    user {
      ...usersFragment
    }
    user_address
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "entity_tags_by_pk": {
      "id": 123,
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3...",
      "tag": tags,
      "tag_name": "Example....1..2..3...",
      "user": users,
      "user_address": "Example....1..2..3..."
    }
  }
}

exhibition

Response

Returns an ExhibitionEntityResponse

Arguments
Name Description
id - ID

Example

Query
query exhibition($id: ID) {
  exhibition(id: $id) {
    data {
      ...ExhibitionEntityFragment
    }
  }
}
Variables
{"id": 4}
Response
{"data": {"exhibition": {"data": ExhibitionEntity}}}

exhibitions

Arguments
Name Description
publicationState - PublicationState Default = LIVE
sort - [String] Default = []

Example

Query
query exhibitions(
  $publicationState: PublicationState,
  $sort: [String]
) {
  exhibitions(
    publicationState: $publicationState,
    sort: $sort
  ) {
    data {
      ...ExhibitionEntityFragment
    }
    meta {
      ...ResponseCollectionMetaFragment
    }
  }
}
Variables
{"publicationState": "LIVE", "sort": [""]}
Response
{
  "data": {
    "exhibitions": {
      "data": [ExhibitionEntity],
      "meta": ResponseCollectionMeta
    }
  }
}

favorites

Description

An array relationship

Response

Returns [favorites!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query favorites(
  $limit: Int,
  $offset: Int
) {
  favorites(
    limit: $limit,
    offset: $offset
  ) {
    favorited_project_id
    favorited_token_id
    favorited_user {
      ...usersFragment
    }
    favorited_user_address
    id
    project_metadata {
      ...projects_metadataFragment
    }
    token_metadata {
      ...tokens_metadataFragment
    }
    user {
      ...usersFragment
    }
    user_public_address
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "favorites": [
      {
        "favorited_project_id": "Example....1..2..3...",
        "favorited_token_id": "Example....1..2..3...",
        "favorited_user": users,
        "favorited_user_address": "Example....1..2..3...",
        "id": 987,
        "project_metadata": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "token_metadata": {
          "features": {
            "Color": "Gradient",
            "Grain": "Medium",
            "Style": "Company"
          },
          "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
          "invocation": "100",
          "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
          "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
          "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
          "favorited_by_user": false,
          "isFlaggedAsSuspicious": null,
          "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
          "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
          "minted_at": "2022-09-08T19:53:24+00:00"
        },
        "user": users,
        "user_public_address": "Example....1..2..3..."
      }
    ]
  }
}

favorites_by_pk

Description

fetch data from the table: "favorites" using primary key columns

Response

Returns a favorites

Arguments
Name Description
id - Int!

Example

Query
query favorites_by_pk($id: Int!) {
  favorites_by_pk(id: $id) {
    favorited_project_id
    favorited_token_id
    favorited_user {
      ...usersFragment
    }
    favorited_user_address
    id
    project_metadata {
      ...projects_metadataFragment
    }
    token_metadata {
      ...tokens_metadataFragment
    }
    user {
      ...usersFragment
    }
    user_public_address
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "favorites_by_pk": {
      "favorited_project_id": "Example....1..2..3...",
      "favorited_token_id": "Example....1..2..3...",
      "favorited_user": users,
      "favorited_user_address": "Example....1..2..3...",
      "id": 123,
      "project_metadata": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "token_metadata": {
        "features": {
          "Color": "Gradient",
          "Grain": "Medium",
          "Style": "Company"
        },
        "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
        "invocation": "100",
        "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
        "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
        "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
        "favorited_by_user": false,
        "isFlaggedAsSuspicious": null,
        "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
        "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
        "minted_at": "2022-09-08T19:53:24+00:00"
      },
      "user": users,
      "user_public_address": "Example....1..2..3..."
    }
  }
}

feature_flags

Description

fetch data from the table: "feature_flags"

Response

Returns [feature_flags!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query feature_flags(
  $limit: Int,
  $offset: Int
) {
  feature_flags(
    limit: $limit,
    offset: $offset
  ) {
    flag_name
    globally_enabled
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "feature_flags": [
      {
        "flag_name": "Example....1..2..3...",
        "globally_enabled": true
      }
    ]
  }
}

feature_flags_by_pk

Description

fetch data from the table: "feature_flags" using primary key columns

Response

Returns a feature_flags

Arguments
Name Description
flag_name - String!

Example

Query
query feature_flags_by_pk($flag_name: String!) {
  feature_flags_by_pk(flag_name: $flag_name) {
    flag_name
    globally_enabled
  }
}
Variables
{"flag_name": "Example....1..2..3..."}
Response
{
  "data": {
    "feature_flags_by_pk": {
      "flag_name": "Example....1..2..3...",
      "globally_enabled": true
    }
  }
}

filter_tokens_metadata_by_features

Description

execute function "filter_tokens_metadata_by_features" which returns "tokens_metadata"

Response

Returns [tokens_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query filter_tokens_metadata_by_features(
  $limit: Int,
  $offset: Int
) {
  filter_tokens_metadata_by_features(
    limit: $limit,
    offset: $offset
  ) {
    bids {
      ...bids_metadataFragment
    }
    bids_aggregate {
      ...bids_metadata_aggregateFragment
    }
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    favorited_by_user
    favorites {
      ...favoritesFragment
    }
    features
    gif {
      ...mediaFragment
    }
    gif_id
    hash
    high_res_image {
      ...mediaFragment
    }
    high_res_image_id
    id
    image {
      ...mediaFragment
    }
    image_id
    invocation
    is_flagged
    last_refreshed
    list_creation_date
    list_currency_address
    list_currency_symbol
    list_eth_price
    list_expiration_date
    list_platform
    list_price
    list_url
    live_view_path
    live_view_url
    low_res_image {
      ...mediaFragment
    }
    low_res_image_id
    media_url
    mint_transaction_hash
    minted_at
    owner {
      ...usersFragment
    }
    owner_address
    preview_asset_url
    primary_asset_url
    primary_purchase_details {
      ...primary_purchasesFragment
    }
    primary_purchase_id
    project {
      ...projects_metadataFragment
    }
    project_id
    project_name
    token_id
    updated_at
    video {
      ...mediaFragment
    }
    video_id
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "filter_tokens_metadata_by_features": [
      {
        "bids": [bids_metadata],
        "bids_aggregate": bids_metadata_aggregate,
        "contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "contract_address": "Example....1..2..3...",
        "favorited_by_user": false,
        "favorites": [favorites],
        "features": jsonb,
        "gif": media,
        "gif_id": 123,
        "hash": "Example....1..2..3...",
        "high_res_image": media,
        "high_res_image_id": 123,
        "id": "Example....1..2..3...",
        "image": media,
        "image_id": 987,
        "invocation": 987,
        "is_flagged": true,
        "last_refreshed": timestamptz,
        "list_creation_date": timestamptz,
        "list_currency_address": "Example....1..2..3...",
        "list_currency_symbol": "Example....1..2..3...",
        "list_eth_price": float8,
        "list_expiration_date": timestamptz,
        "list_platform": "Example....1..2..3...",
        "list_price": float8,
        "list_url": "Example....1..2..3...",
        "live_view_path": "Example....1..2..3...",
        "live_view_url": "Example....1..2..3...",
        "low_res_image": media,
        "low_res_image_id": 123,
        "media_url": "Example....1..2..3...",
        "mint_transaction_hash": "Example....1..2..3...",
        "minted_at": timestamptz,
        "owner": users,
        "owner_address": "Example....1..2..3...",
        "preview_asset_url": "Example....1..2..3...",
        "primary_asset_url": "Example....1..2..3...",
        "primary_purchase_details": primary_purchases,
        "primary_purchase_id": "Example....1..2..3...",
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3...",
        "project_name": "Example....1..2..3...",
        "token_id": "Example....1..2..3...",
        "updated_at": "2022-09-16T19:33:12+00:00",
        "video": media,
        "video_id": 987
      }
    ]
  }
}

getAuthMessage

Response

Returns an AuthMessageOutput

Arguments
Name Description
domain - String!
publicAddress - String!
uri - String!

Example

Query
query getAuthMessage(
  $domain: String!,
  $publicAddress: String!,
  $uri: String!
) {
  getAuthMessage(
    domain: $domain,
    publicAddress: $publicAddress,
    uri: $uri
  ) {
    authMessage
  }
}
Variables
{
  "domain": "Example....1..2..3...",
  "publicAddress": "Example....1..2..3...",
  "uri": "Example....1..2..3..."
}
Response
{
  "data": {
    "getAuthMessage": {
      "authMessage": "Example....1..2..3..."
    }
  }
}

getOpenseaCollectionURL

Response

Returns an OpenseaCollectionData

Arguments
Name Description
contractAddress - String!
projectId - String!

Example

Query
query getOpenseaCollectionURL(
  $contractAddress: String!,
  $projectId: String!
) {
  getOpenseaCollectionURL(
    contractAddress: $contractAddress,
    projectId: $projectId
  ) {
    projectId
    url
  }
}
Variables
{
  "contractAddress": "Example....1..2..3...",
  "projectId": "Example....1..2..3..."
}
Response
{
  "data": {
    "getOpenseaCollectionURL": {
      "projectId": "Example....1..2..3...",
      "url": "Example....1..2..3..."
    }
  }
}

isTokenFlagged

Response

Returns a Boolean

Arguments
Name Description
contractAddress - String!
tokenId - String!

Example

Query
query isTokenFlagged(
  $contractAddress: String!,
  $tokenId: String!
) {
  isTokenFlagged(
    contractAddress: $contractAddress,
    tokenId: $tokenId
  )
}
Variables
{
  "contractAddress": "Example....1..2..3...",
  "tokenId": "Example....1..2..3..."
}
Response
{"data": {"isTokenFlagged": false}}

list_projects_metadata_random

Description

execute function "list_projects_metadata_random" which returns "projects_metadata"

Response

Returns [projects_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query list_projects_metadata_random(
  $limit: Int,
  $offset: Int
) {
  list_projects_metadata_random(
    limit: $limit,
    offset: $offset
  ) {
    activated_at
    active
    additional_payee
    additional_payee_percentage
    additional_payee_secondary_sales_address
    additional_payee_secondary_sales_percentage
    additional_payee_splitter {
      ...split_atomic_contractsFragment
    }
    article {
      ...ArticleEntityResponseCollectionFragment
    }
    artist {
      ...usersFragment
    }
    artistPage {
      ...ArtistEditorialPageEntityResponseCollectionFragment
    }
    artist_address
    artist_display_notes
    artist_featured_token_id
    artist_interview
    artist_name
    aspect_ratio
    auction_end_time
    auction_start_time
    base_uri
    bids {
      ...bids_metadataFragment
    }
    bids_aggregate {
      ...bids_metadata_aggregateFragment
    }
    canvas_mode
    charitable_giving_details
    complete
    completed_at
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    creative_credit
    curation_status
    curation_status_display
    curation_status_override
    currency_address
    currency_decimals
    currency_symbol
    dependency {
      ...dependencies_metadataFragment
    }
    dependency_name_and_version
    description
    disable_auto_image_format
    disable_sample_generator
    display_static
    engine_platform_provider_secondary_sales_address
    engine_platform_provider_secondary_sales_bps
    erc2981_splitter_address
    erc2981_splitter_contract {
      ...royalty_splitter_contractsFragment
    }
    exhibition {
      ...ExhibitionEntityResponseCollectionFragment
    }
    external_asset_dependencies {
      ...project_external_asset_dependenciesFragment
    }
    external_asset_dependencies_locked
    external_asset_dependency_count
    favorited_by_user
    favorites {
      ...favoritesFragment
    }
    featured_token {
      ...tokens_metadataFragment
    }
    features {
      ...projects_featuresFragment
    }
    first_token_minted_at
    generate_video_assets
    heritage_curation_status
    id
    index
    invocations
    ipfs_hash
    is_artblocks
    license
    link_to_license
    locked
    lowest_listing
    max_invocations
    minter_configuration {
      ...project_minter_configurationsFragment
    }
    minter_configuration_id
    name
    oob_tokens {
      ...oob_tokens_metadataFragment
    }
    oob_tokens_aggregate {
      ...oob_tokens_metadata_aggregateFragment
    }
    paused
    preview_render_type
    price_per_token_in_wei
    primary_render_type
    project_id
    properties_updated_at
    proposed_artist_addresses_and_split {
      ...proposed_artist_addresses_and_splitsFragment
    }
    proposed_artists_and_splits_id
    random_oob_token {
      ...oob_tokens_metadataFragment
    }
    random_token {
      ...tokens_metadataFragment
    }
    read_only_addresses
    receipts {
      ...receipt_metadataFragment
    }
    refresh_requests {
      ...refresh_requestsFragment
    }
    render_complete
    render_delay
    render_provider_secondary_sales_address
    render_provider_secondary_sales_bps
    render_with_gpu
    royalty_percentage
    sales_notes
    script
    script_count
    script_json
    script_type_and_version
    script_type_and_version_override
    scripts {
      ...project_scriptsFragment
    }
    second_token_minted_at
    series {
      ...project_seriesFragment
    }
    series_id
    start_datetime
    tags {
      ...entity_tagsFragment
    }
    tokens {
      ...tokens_metadataFragment
    }
    updated_at
    user_is_artist
    vertical {
      ...project_verticalsFragment
    }
    vertical_name
    video_aspect_ratio
    video_duration
    video_fps
    video_render_delay
    website
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "list_projects_metadata_random": [
      {
        "activated_at": timestamptz,
        "active": true,
        "additional_payee": "Example....1..2..3...",
        "additional_payee_percentage": 987,
        "additional_payee_secondary_sales_address": "Example....1..2..3...",
        "additional_payee_secondary_sales_percentage": 987,
        "additional_payee_splitter": split_atomic_contracts,
        "article": ArticleEntityResponseCollection,
        "artist": users,
        "artistPage": ArtistEditorialPageEntityResponseCollection,
        "artist_address": "Example....1..2..3...",
        "artist_display_notes": "Example....1..2..3...",
        "artist_featured_token_id": "Example....1..2..3...",
        "artist_interview": "Example....1..2..3...",
        "artist_name": "Example....1..2..3...",
        "aspect_ratio": numeric,
        "auction_end_time": timestamptz,
        "auction_start_time": timestamptz,
        "base_uri": "Example....1..2..3...",
        "bids": [bids_metadata],
        "bids_aggregate": bids_metadata_aggregate,
        "canvas_mode": false,
        "charitable_giving_details": "Example....1..2..3...",
        "complete": false,
        "completed_at": timestamptz,
        "contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "contract_address": "Example....1..2..3...",
        "creative_credit": "Example....1..2..3...",
        "curation_status": "collaboration",
        "curation_status_display": "Example....1..2..3...",
        "curation_status_override": "collaboration",
        "currency_address": "Example....1..2..3...",
        "currency_decimals": 987,
        "currency_symbol": "Example....1..2..3...",
        "dependency": {
          "type_and_version": "three@0.124.0",
          "preferred_cdn": "https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.min.js",
          "preferred_repository": "https://github.com/mrdoob/three.js",
          "reference_website": null,
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "updated_at": "2023-02-07T20:56:36.768687+00:00",
          "updated_onchain_at": "2023-02-07T20:54:48+00:00",
          "script": "{/**//*! p5.js v1.0.0 February 29, 2020 */ !function(e){if('object'==type....}"
        },
        "dependency_name_and_version": "Example....1..2..3...",
        "description": "Example....1..2..3...",
        "disable_auto_image_format": true,
        "disable_sample_generator": false,
        "display_static": true,
        "engine_platform_provider_secondary_sales_address": "Example....1..2..3...",
        "engine_platform_provider_secondary_sales_bps": 987,
        "erc2981_splitter_address": "Example....1..2..3...",
        "erc2981_splitter_contract": royalty_splitter_contracts,
        "exhibition": ExhibitionEntityResponseCollection,
        "external_asset_dependencies": [
          project_external_asset_dependencies
        ],
        "external_asset_dependencies_locked": false,
        "external_asset_dependency_count": bigint,
        "favorited_by_user": false,
        "favorites": [favorites],
        "featured_token": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            "favorited_by_user": false,
            "isFlaggedAsSuspicious": null,
            "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
            "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
            "minted_at": "2022-09-08T19:53:24+00:00"
          }
        ],
        "features": projects_features,
        "first_token_minted_at": timestamptz,
        "generate_video_assets": false,
        "heritage_curation_status": "Example....1..2..3...",
        "id": "Example....1..2..3...",
        "index": 123,
        "invocations": bigint,
        "ipfs_hash": "Example....1..2..3...",
        "is_artblocks": false,
        "license": "Example....1..2..3...",
        "link_to_license": "Example....1..2..3...",
        "locked": true,
        "lowest_listing": float8,
        "max_invocations": 123,
        "minter_configuration": project_minter_configurations,
        "minter_configuration_id": "Example....1..2..3...",
        "name": "Example....1..2..3...",
        "oob_tokens": [oob_tokens_metadata],
        "oob_tokens_aggregate": oob_tokens_metadata_aggregate,
        "paused": false,
        "preview_render_type": "gif",
        "price_per_token_in_wei": "Example....1..2..3...",
        "primary_render_type": "gif",
        "project_id": "Example....1..2..3...",
        "properties_updated_at": jsonb,
        "proposed_artist_addresses_and_split": proposed_artist_addresses_and_splits,
        "proposed_artists_and_splits_id": "Example....1..2..3...",
        "random_oob_token": [oob_tokens_metadata],
        "random_token": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            "favorited_by_user": false,
            "isFlaggedAsSuspicious": null,
            "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
            "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
            "minted_at": "2022-09-08T19:53:24+00:00"
          }
        ],
        "read_only_addresses": jsonb,
        "receipts": [
          {
            "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
            "netPosted": "557638888888888889",
            "numPurchased": "1"
          }
        ],
        "refresh_requests": [refresh_requests],
        "render_complete": true,
        "render_delay": 987,
        "render_provider_secondary_sales_address": "Example....1..2..3...",
        "render_provider_secondary_sales_bps": 123,
        "render_with_gpu": true,
        "royalty_percentage": 987,
        "sales_notes": "Example....1..2..3...",
        "script": "Example....1..2..3...",
        "script_count": bigint,
        "script_json": jsonb,
        "script_type_and_version": "Example....1..2..3...",
        "script_type_and_version_override": "Example....1..2..3...",
        "scripts": [project_scripts],
        "second_token_minted_at": timestamptz,
        "series": project_series,
        "series_id": 123,
        "start_datetime": timestamptz,
        "tags": [entity_tags],
        "tokens": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            "favorited_by_user": false,
            "isFlaggedAsSuspicious": null,
            "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
            "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
            "minted_at": "2022-09-08T19:53:24+00:00"
          }
        ],
        "updated_at": "2022-09-16T19:33:12+00:00",
        "user_is_artist": true,
        "vertical": project_verticals,
        "vertical_name": "Example....1..2..3...",
        "video_aspect_ratio": numeric,
        "video_duration": 123,
        "video_fps": 987,
        "video_render_delay": 123,
        "website": "Example....1..2..3..."
      }
    ]
  }
}

media

Description

fetch data from the table: "media"

Response

Returns [media!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query media(
  $limit: Int,
  $offset: Int
) {
  media(
    limit: $limit,
    offset: $offset
  ) {
    bucket_name
    extension
    file_path
    id
    metadata
    owner_id
    url
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "media": [
      {
        "bucket_name": "Example....1..2..3...",
        "extension": "Example....1..2..3...",
        "file_path": "Example....1..2..3...",
        "id": 123,
        "metadata": jsonb,
        "owner_id": "Example....1..2..3...",
        "url": "Example....1..2..3..."
      }
    ]
  }
}

media_by_pk

Description

fetch data from the table: "media" using primary key columns

Response

Returns a media

Arguments
Name Description
id - Int!

Example

Query
query media_by_pk($id: Int!) {
  media_by_pk(id: $id) {
    bucket_name
    extension
    file_path
    id
    metadata
    owner_id
    url
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "media_by_pk": {
      "bucket_name": "Example....1..2..3...",
      "extension": "Example....1..2..3...",
      "file_path": "Example....1..2..3...",
      "id": 987,
      "metadata": jsonb,
      "owner_id": "Example....1..2..3...",
      "url": "Example....1..2..3..."
    }
  }
}

minterInfo

Response

Returns a MinterInfoEntityResponse

Arguments
Name Description
id - ID

Example

Query
query minterInfo($id: ID) {
  minterInfo(id: $id) {
    data {
      ...MinterInfoEntityFragment
    }
  }
}
Variables
{"id": "4"}
Response
{"data": {"minterInfo": {"data": MinterInfoEntity}}}

minterInfos

Arguments
Name Description
publicationState - PublicationState Default = LIVE
sort - [String] Default = []

Example

Query
query minterInfos(
  $publicationState: PublicationState,
  $sort: [String]
) {
  minterInfos(
    publicationState: $publicationState,
    sort: $sort
  ) {
    data {
      ...MinterInfoEntityFragment
    }
    meta {
      ...ResponseCollectionMetaFragment
    }
  }
}
Variables
{"publicationState": "LIVE", "sort": [""]}
Response
{
  "data": {
    "minterInfos": {
      "data": [MinterInfoEntity],
      "meta": ResponseCollectionMeta
    }
  }
}

minter_filter_type_names

Description

fetch data from the table: "minter_filter_type_names"

Response

Returns [minter_filter_type_names!]!

Arguments
Name Description
distinct_on - [minter_filter_type_names_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query minter_filter_type_names(
  $distinct_on: [minter_filter_type_names_select_column!],
  $limit: Int,
  $offset: Int
) {
  minter_filter_type_names(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    name
  }
}
Variables
{"distinct_on": ["name"], "limit": 987, "offset": 123}
Response
{
  "data": {
    "minter_filter_type_names": [
      {"name": "Example....1..2..3..."}
    ]
  }
}

minter_filter_type_names_by_pk

Description

fetch data from the table: "minter_filter_type_names" using primary key columns

Response

Returns a minter_filter_type_names

Arguments
Name Description
name - String!

Example

Query
query minter_filter_type_names_by_pk($name: String!) {
  minter_filter_type_names_by_pk(name: $name) {
    name
  }
}
Variables
{"name": "Example....1..2..3..."}
Response
{
  "data": {
    "minter_filter_type_names_by_pk": {
      "name": "Example....1..2..3..."
    }
  }
}

minter_filters_metadata

Description

fetch data from the table: "minter_filters_metadata"

Response

Returns [minter_filters_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query minter_filters_metadata(
  $limit: Int,
  $offset: Int
) {
  minter_filters_metadata(
    limit: $limit,
    offset: $offset
  ) {
    address
    core_registry_address
    globally_allowed_minters {
      ...minters_metadataFragment
    }
    known_minters {
      ...minters_metadataFragment
    }
    type
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "minter_filters_metadata": [
      {
        "address": "Example....1..2..3...",
        "core_registry_address": "Example....1..2..3...",
        "globally_allowed_minters": [
          {
            "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
            "minimum_auction_length_in_seconds": 3600,
            "minter_type": "MinterDALinV1",
            "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
            "maximum_price_decay_half_life_in_seconds": 3600,
            "minimum_price_decay_half_life_in_seconds": 300,
            "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
            "extra_minter_details": "{...}"
          }
        ],
        "known_minters": [
          {
            "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
            "minimum_auction_length_in_seconds": 3600,
            "minter_type": "MinterDALinV1",
            "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
            "maximum_price_decay_half_life_in_seconds": 3600,
            "minimum_price_decay_half_life_in_seconds": 300,
            "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
            "extra_minter_details": "{...}"
          }
        ],
        "type": "MinterFilterV0"
      }
    ]
  }
}

minter_filters_metadata_by_pk

Description

fetch data from the table: "minter_filters_metadata" using primary key columns

Response

Returns a minter_filters_metadata

Arguments
Name Description
address - String!

Example

Query
query minter_filters_metadata_by_pk($address: String!) {
  minter_filters_metadata_by_pk(address: $address) {
    address
    core_registry_address
    globally_allowed_minters {
      ...minters_metadataFragment
    }
    known_minters {
      ...minters_metadataFragment
    }
    type
  }
}
Variables
{"address": "Example....1..2..3..."}
Response
{
  "data": {
    "minter_filters_metadata_by_pk": {
      "address": "Example....1..2..3...",
      "core_registry_address": "Example....1..2..3...",
      "globally_allowed_minters": [
        {
          "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
          "minimum_auction_length_in_seconds": 3600,
          "minter_type": "MinterDALinV1",
          "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
          "maximum_price_decay_half_life_in_seconds": 3600,
          "minimum_price_decay_half_life_in_seconds": 300,
          "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
          "extra_minter_details": "{...}"
        }
      ],
      "known_minters": [
        {
          "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
          "minimum_auction_length_in_seconds": 3600,
          "minter_type": "MinterDALinV1",
          "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
          "maximum_price_decay_half_life_in_seconds": 3600,
          "minimum_price_decay_half_life_in_seconds": 300,
          "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
          "extra_minter_details": "{...}"
        }
      ],
      "type": "MinterFilterV0"
    }
  }
}

minter_types

Description

fetch data from the table: "minter_types"

Response

Returns [minter_types!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query minter_types(
  $limit: Int,
  $offset: Int
) {
  minter_types(
    limit: $limit,
    offset: $offset
  ) {
    active
    description_template
    label
    project_configuration_schema
    type
    unversioned_type
    version_number
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "minter_types": [
      {
        "active": true,
        "description_template": "Example....1..2..3...",
        "label": "Example....1..2..3...",
        "project_configuration_schema": jsonb,
        "type": "MinterDAExpHolderV5",
        "unversioned_type": "Example....1..2..3...",
        "version_number": 987
      }
    ]
  }
}

minter_types_by_pk

Description

fetch data from the table: "minter_types" using primary key columns

Response

Returns a minter_types

Arguments
Name Description
type - minter_type_names_enum!

Example

Query
query minter_types_by_pk($type: minter_type_names_enum!) {
  minter_types_by_pk(type: $type) {
    active
    description_template
    label
    project_configuration_schema
    type
    unversioned_type
    version_number
  }
}
Variables
{"type": "MinterDAExpHolderV5"}
Response
{
  "data": {
    "minter_types_by_pk": {
      "active": true,
      "description_template": "Example....1..2..3...",
      "label": "Example....1..2..3...",
      "project_configuration_schema": jsonb,
      "type": "MinterDAExpHolderV5",
      "unversioned_type": "Example....1..2..3...",
      "version_number": 987
    }
  }
}

minters_metadata

Description

fetch data from the table: "minters_metadata"

Response

Returns [minters_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query minters_metadata(
  $limit: Int,
  $offset: Int
) {
  minters_metadata(
    limit: $limit,
    offset: $offset
  ) {
    address
    extra_minter_details
    is_globally_allowlisted_on_minter_filter
    minter_filter {
      ...minter_filters_metadataFragment
    }
    minter_filter_address
    minter_type
    receipts {
      ...receipt_metadataFragment
    }
    type {
      ...minter_typesFragment
    }
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "minters_metadata": [
      {
        "address": "Example....1..2..3...",
        "extra_minter_details": jsonb,
        "is_globally_allowlisted_on_minter_filter": false,
        "minter_filter": {
          "address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "allowed_minters": [
            {
              "address": "0x9ff63446d56c608252fb8cb5772c849860843a46",
              "minter_type": "MinterDAExpV4",
              "type": {
                "label": "Dutch auction - exponential price decrease",
                "unversioned_type": "MinterDAExp"
              },
              "version_number": 4
            },
            {
              "address": "0x73873eaaf65338256e31b1e612ac74d09492b5b8",
              "minter_type": "MinterDALinV2",
              "type": {
                "label": "Dutch auction - linear price decrease",
                "unversioned_type": "MinterDALin"
              },
              "version_number": 2
            }
          ]
        },
        "minter_filter_address": "Example....1..2..3...",
        "minter_type": "MinterDAExpHolderV5",
        "receipts": [
          {
            "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
            "netPosted": "557638888888888889",
            "numPurchased": "1"
          }
        ],
        "type": minter_types
      }
    ]
  }
}

minters_metadata_by_pk

Description

fetch data from the table: "minters_metadata" using primary key columns

Response

Returns a minters_metadata

Arguments
Name Description
address - String!

Example

Query
query minters_metadata_by_pk($address: String!) {
  minters_metadata_by_pk(address: $address) {
    address
    extra_minter_details
    is_globally_allowlisted_on_minter_filter
    minter_filter {
      ...minter_filters_metadataFragment
    }
    minter_filter_address
    minter_type
    receipts {
      ...receipt_metadataFragment
    }
    type {
      ...minter_typesFragment
    }
  }
}
Variables
{"address": "Example....1..2..3..."}
Response
{
  "data": {
    "minters_metadata_by_pk": {
      "address": "Example....1..2..3...",
      "extra_minter_details": jsonb,
      "is_globally_allowlisted_on_minter_filter": false,
      "minter_filter": {
        "address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
        "allowed_minters": [
          {
            "address": "0x9ff63446d56c608252fb8cb5772c849860843a46",
            "minter_type": "MinterDAExpV4",
            "type": {
              "label": "Dutch auction - exponential price decrease",
              "unversioned_type": "MinterDAExp"
            },
            "version_number": 4
          },
          {
            "address": "0x73873eaaf65338256e31b1e612ac74d09492b5b8",
            "minter_type": "MinterDALinV2",
            "type": {
              "label": "Dutch auction - linear price decrease",
              "unversioned_type": "MinterDALin"
            },
            "version_number": 2
          }
        ]
      },
      "minter_filter_address": "Example....1..2..3...",
      "minter_type": "MinterDAExpHolderV5",
      "receipts": [
        {
          "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
          "netPosted": "557638888888888889",
          "numPurchased": "1"
        }
      ],
      "type": minter_types
    }
  }
}

oob_tokens_metadata

Description

fetch data from the table: "oob_tokens_metadata"

Response

Returns [oob_tokens_metadata!]!

Arguments
Name Description
distinct_on - [oob_tokens_metadata_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query oob_tokens_metadata(
  $distinct_on: [oob_tokens_metadata_select_column!],
  $limit: Int,
  $offset: Int
) {
  oob_tokens_metadata(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    gif {
      ...mediaFragment
    }
    gif_id
    hash
    id
    image {
      ...mediaFragment
    }
    image_id
    live_view_path
    live_view_url
    media_url
    preview_asset_url
    primary_asset_url
    project {
      ...projects_metadataFragment
    }
    project_id
    token_id
    video {
      ...mediaFragment
    }
    video_id
  }
}
Variables
{"distinct_on": ["contract_address"], "limit": 987, "offset": 987}
Response
{
  "data": {
    "oob_tokens_metadata": [
      {
        "contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "contract_address": "Example....1..2..3...",
        "gif": media,
        "gif_id": 123,
        "hash": "Example....1..2..3...",
        "id": "Example....1..2..3...",
        "image": media,
        "image_id": 123,
        "live_view_path": "Example....1..2..3...",
        "live_view_url": "Example....1..2..3...",
        "media_url": "Example....1..2..3...",
        "preview_asset_url": "Example....1..2..3...",
        "primary_asset_url": "Example....1..2..3...",
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3...",
        "token_id": 987,
        "video": media,
        "video_id": 987
      }
    ]
  }
}

oob_tokens_metadata_aggregate

Description

fetch aggregated fields from the table: "oob_tokens_metadata"

Response

Returns an oob_tokens_metadata_aggregate!

Arguments
Name Description
distinct_on - [oob_tokens_metadata_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query oob_tokens_metadata_aggregate(
  $distinct_on: [oob_tokens_metadata_select_column!],
  $limit: Int,
  $offset: Int
) {
  oob_tokens_metadata_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    aggregate {
      ...oob_tokens_metadata_aggregate_fieldsFragment
    }
    nodes {
      ...oob_tokens_metadataFragment
    }
  }
}
Variables
{"distinct_on": ["contract_address"], "limit": 123, "offset": 987}
Response
{
  "data": {
    "oob_tokens_metadata_aggregate": {
      "aggregate": oob_tokens_metadata_aggregate_fields,
      "nodes": [oob_tokens_metadata]
    }
  }
}

oob_tokens_metadata_by_pk

Description

fetch data from the table: "oob_tokens_metadata" using primary key columns

Response

Returns an oob_tokens_metadata

Arguments
Name Description
id - String!

Example

Query
query oob_tokens_metadata_by_pk($id: String!) {
  oob_tokens_metadata_by_pk(id: $id) {
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    gif {
      ...mediaFragment
    }
    gif_id
    hash
    id
    image {
      ...mediaFragment
    }
    image_id
    live_view_path
    live_view_url
    media_url
    preview_asset_url
    primary_asset_url
    project {
      ...projects_metadataFragment
    }
    project_id
    token_id
    video {
      ...mediaFragment
    }
    video_id
  }
}
Variables
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "oob_tokens_metadata_by_pk": {
      "contract": {
        "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
        "updated_at": "2023-03-30T20:22:01.629861",
        "bucket_name": "art-blocks-dev-goerli",
        "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_percentage": 10,
        "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
        "generator_url": "https://generator.artblocks.io",
        "default_vertical_name": "presents",
        "contract_type": "GenArt721CoreV3",
        "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
        "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
        "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_secondary_sales_bps": 251,
        "new_projects_forbidden_onchain": false,
        "new_projects_forbidden_offchain": false,
        "preferred_ipfs_gateway": null,
        "preferred_arweave_gateway": null
      },
      "contract_address": "Example....1..2..3...",
      "gif": media,
      "gif_id": 987,
      "hash": "Example....1..2..3...",
      "id": "Example....1..2..3...",
      "image": media,
      "image_id": 987,
      "live_view_path": "Example....1..2..3...",
      "live_view_url": "Example....1..2..3...",
      "media_url": "Example....1..2..3...",
      "preview_asset_url": "Example....1..2..3...",
      "primary_asset_url": "Example....1..2..3...",
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3...",
      "token_id": 987,
      "video": media,
      "video_id": 987
    }
  }
}

primary_purchases

Description

fetch data from the table: "primary_purchases"

Response

Returns [primary_purchases!]!

Arguments
Name Description
distinct_on - [primary_purchases_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query primary_purchases(
  $distinct_on: [primary_purchases_select_column!],
  $limit: Int,
  $offset: Int
) {
  primary_purchases(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    currency_address
    currency_symbol
    minter_address
    token {
      ...tokens_metadataFragment
    }
    token_id
    transaction_hash
  }
}
Variables
{"distinct_on": ["currency_address"], "limit": 123, "offset": 987}
Response
{
  "data": {
    "primary_purchases": [
      {
        "currency_address": "Example....1..2..3...",
        "currency_symbol": "Example....1..2..3...",
        "minter_address": "Example....1..2..3...",
        "token": {
          "features": {
            "Color": "Gradient",
            "Grain": "Medium",
            "Style": "Company"
          },
          "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
          "invocation": "100",
          "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
          "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
          "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
          "favorited_by_user": false,
          "isFlaggedAsSuspicious": null,
          "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
          "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
          "minted_at": "2022-09-08T19:53:24+00:00"
        },
        "token_id": "Example....1..2..3...",
        "transaction_hash": "Example....1..2..3..."
      }
    ]
  }
}

primary_purchases_by_pk

Description

fetch data from the table: "primary_purchases" using primary key columns

Response

Returns a primary_purchases

Arguments
Name Description
token_id - String!

Example

Query
query primary_purchases_by_pk($token_id: String!) {
  primary_purchases_by_pk(token_id: $token_id) {
    currency_address
    currency_symbol
    minter_address
    token {
      ...tokens_metadataFragment
    }
    token_id
    transaction_hash
  }
}
Variables
{"token_id": "Example....1..2..3..."}
Response
{
  "data": {
    "primary_purchases_by_pk": {
      "currency_address": "Example....1..2..3...",
      "currency_symbol": "Example....1..2..3...",
      "minter_address": "Example....1..2..3...",
      "token": {
        "features": {
          "Color": "Gradient",
          "Grain": "Medium",
          "Style": "Company"
        },
        "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
        "invocation": "100",
        "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
        "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
        "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
        "favorited_by_user": false,
        "isFlaggedAsSuspicious": null,
        "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
        "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
        "minted_at": "2022-09-08T19:53:24+00:00"
      },
      "token_id": "Example....1..2..3...",
      "transaction_hash": "Example....1..2..3..."
    }
  }
}

processing_jobs

Description

An array relationship

Response

Returns [processing_jobs!]!

Arguments
Name Description
distinct_on - [processing_jobs_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query processing_jobs(
  $distinct_on: [processing_jobs_select_column!],
  $limit: Int,
  $offset: Int
) {
  processing_jobs(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    asset_type
    completed_at
    id
    name
    refresh_request_id
    status
    submitted_at
  }
}
Variables
{"distinct_on": ["asset_type"], "limit": 987, "offset": 123}
Response
{
  "data": {
    "processing_jobs": [
      {
        "asset_type": "Image",
        "completed_at": timestamptz,
        "id": uuid,
        "name": "Example....1..2..3...",
        "refresh_request_id": uuid,
        "status": "FAILED",
        "submitted_at": timestamptz
      }
    ]
  }
}

processing_jobs_by_pk

Description

fetch data from the table: "processing_jobs" using primary key columns

Response

Returns a processing_jobs

Arguments
Name Description
id - uuid!

Example

Query
query processing_jobs_by_pk($id: uuid!) {
  processing_jobs_by_pk(id: $id) {
    asset_type
    completed_at
    id
    name
    refresh_request_id
    status
    submitted_at
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "processing_jobs_by_pk": {
      "asset_type": "Image",
      "completed_at": timestamptz,
      "id": uuid,
      "name": "Example....1..2..3...",
      "refresh_request_id": uuid,
      "status": "FAILED",
      "submitted_at": timestamptz
    }
  }
}

projectPage

Response

Returns a ProjectPageEntityResponse

Arguments
Name Description
id - ID

Example

Query
query projectPage($id: ID) {
  projectPage(id: $id) {
    data {
      ...ProjectPageEntityFragment
    }
  }
}
Variables
{"id": "4"}
Response
{"data": {"projectPage": {"data": ProjectPageEntity}}}

projectPages

Arguments
Name Description
publicationState - PublicationState Default = LIVE
sort - [String] Default = []

Example

Query
query projectPages(
  $publicationState: PublicationState,
  $sort: [String]
) {
  projectPages(
    publicationState: $publicationState,
    sort: $sort
  ) {
    data {
      ...ProjectPageEntityFragment
    }
    meta {
      ...ResponseCollectionMetaFragment
    }
  }
}
Variables
{"publicationState": "LIVE", "sort": [""]}
Response
{
  "data": {
    "projectPages": {
      "data": [ProjectPageEntity],
      "meta": ResponseCollectionMeta
    }
  }
}

project_external_asset_dependencies

Description

fetch data from the table: "project_external_asset_dependencies"

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query project_external_asset_dependencies(
  $limit: Int,
  $offset: Int
) {
  project_external_asset_dependencies(
    limit: $limit,
    offset: $offset
  ) {
    bytecode_address
    cid
    data
    dependency_type
    index
    project {
      ...projects_metadataFragment
    }
    project_id
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "project_external_asset_dependencies": [
      {
        "bytecode_address": "Example....1..2..3...",
        "cid": "Example....1..2..3...",
        "data": "Example....1..2..3...",
        "dependency_type": "ART_BLOCKS_DEPENDENCY_REGISTRY",
        "index": 987,
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3..."
      }
    ]
  }
}

project_external_asset_dependencies_by_pk

Description

fetch data from the table: "project_external_asset_dependencies" using primary key columns

Arguments
Name Description
index - Int!
project_id - String!

Example

Query
query project_external_asset_dependencies_by_pk(
  $index: Int!,
  $project_id: String!
) {
  project_external_asset_dependencies_by_pk(
    index: $index,
    project_id: $project_id
  ) {
    bytecode_address
    cid
    data
    dependency_type
    index
    project {
      ...projects_metadataFragment
    }
    project_id
  }
}
Variables
{
  "index": 987,
  "project_id": "Example....1..2..3..."
}
Response
{
  "data": {
    "project_external_asset_dependencies_by_pk": {
      "bytecode_address": "Example....1..2..3...",
      "cid": "Example....1..2..3...",
      "data": "Example....1..2..3...",
      "dependency_type": "ART_BLOCKS_DEPENDENCY_REGISTRY",
      "index": 987,
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3..."
    }
  }
}

project_minter_configurations

Description

fetch data from the table: "project_minter_configurations"

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query project_minter_configurations(
  $limit: Int,
  $offset: Int
) {
  project_minter_configurations(
    limit: $limit,
    offset: $offset
  ) {
    auction_end_time
    auction_start_time
    base_price
    complete
    currency_address
    currency_symbol
    extra_minter_details
    id
    max_invocations
    minter {
      ...minters_metadataFragment
    }
    minter_id
    offchain_extra_minter_details
    price_is_configured
    project {
      ...projects_metadataFragment
    }
    project_id
    properties_updated_at
    purchase_to_disabled
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "project_minter_configurations": [
      {
        "auction_end_time": timestamptz,
        "auction_start_time": timestamptz,
        "base_price": "Example....1..2..3...",
        "complete": true,
        "currency_address": "Example....1..2..3...",
        "currency_symbol": "Example....1..2..3...",
        "extra_minter_details": jsonb,
        "id": "Example....1..2..3...",
        "max_invocations": 123,
        "minter": {
          "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
          "minimum_auction_length_in_seconds": 3600,
          "minter_type": "MinterDALinV1",
          "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
          "maximum_price_decay_half_life_in_seconds": 3600,
          "minimum_price_decay_half_life_in_seconds": 300,
          "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
          "extra_minter_details": "{...}"
        },
        "minter_id": "Example....1..2..3...",
        "offchain_extra_minter_details": jsonb,
        "price_is_configured": false,
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3...",
        "properties_updated_at": jsonb,
        "purchase_to_disabled": false
      }
    ]
  }
}

project_minter_configurations_by_pk

Description

fetch data from the table: "project_minter_configurations" using primary key columns

Response

Returns a project_minter_configurations

Arguments
Name Description
id - String!

Example

Query
query project_minter_configurations_by_pk($id: String!) {
  project_minter_configurations_by_pk(id: $id) {
    auction_end_time
    auction_start_time
    base_price
    complete
    currency_address
    currency_symbol
    extra_minter_details
    id
    max_invocations
    minter {
      ...minters_metadataFragment
    }
    minter_id
    offchain_extra_minter_details
    price_is_configured
    project {
      ...projects_metadataFragment
    }
    project_id
    properties_updated_at
    purchase_to_disabled
  }
}
Variables
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "project_minter_configurations_by_pk": {
      "auction_end_time": timestamptz,
      "auction_start_time": timestamptz,
      "base_price": "Example....1..2..3...",
      "complete": false,
      "currency_address": "Example....1..2..3...",
      "currency_symbol": "Example....1..2..3...",
      "extra_minter_details": jsonb,
      "id": "Example....1..2..3...",
      "max_invocations": 987,
      "minter": {
        "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
        "minimum_auction_length_in_seconds": 3600,
        "minter_type": "MinterDALinV1",
        "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
        "maximum_price_decay_half_life_in_seconds": 3600,
        "minimum_price_decay_half_life_in_seconds": 300,
        "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
        "extra_minter_details": "{...}"
      },
      "minter_id": "Example....1..2..3...",
      "offchain_extra_minter_details": jsonb,
      "price_is_configured": false,
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3...",
      "properties_updated_at": jsonb,
      "purchase_to_disabled": true
    }
  }
}

project_scripts

Description

fetch data from the table: "project_scripts"

Response

Returns [project_scripts!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query project_scripts(
  $limit: Int,
  $offset: Int
) {
  project_scripts(
    limit: $limit,
    offset: $offset
  ) {
    index
    project {
      ...projects_metadataFragment
    }
    project_id
    script
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "project_scripts": [
      {
        "index": 987,
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3...",
        "script": "Example....1..2..3..."
      }
    ]
  }
}

project_scripts_by_pk

Description

fetch data from the table: "project_scripts" using primary key columns

Response

Returns a project_scripts

Arguments
Name Description
index - Int!
project_id - String!

Example

Query
query project_scripts_by_pk(
  $index: Int!,
  $project_id: String!
) {
  project_scripts_by_pk(
    index: $index,
    project_id: $project_id
  ) {
    index
    project {
      ...projects_metadataFragment
    }
    project_id
    script
  }
}
Variables
{
  "index": 123,
  "project_id": "Example....1..2..3..."
}
Response
{
  "data": {
    "project_scripts_by_pk": {
      "index": 123,
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3...",
      "script": "Example....1..2..3..."
    }
  }
}

project_series

Description

fetch data from the table: "project_series"

Response

Returns [project_series!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query project_series(
  $limit: Int,
  $offset: Int
) {
  project_series(
    limit: $limit,
    offset: $offset
  ) {
    id
    projects {
      ...projects_metadataFragment
    }
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "project_series": [
      {
        "id": 123,
        "projects": [
          {
            "activated_at": "2022-09-16T19:33:12+00:00",
            "active": false,
            "additional_payee": "0x000000000000000000000000000000000000dEaD",
            "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
            "projectId": "0",
            "additionalPayee": null,
            "curationStatus": null,
            "name": "Sacred Trees",
            "artistName": "hideo",
            "complete": false,
            "currencySymbol": "LEGEND",
            "license": "CC BY-NC-SA 4.0",
            "aspectRatio": null,
            "maxInvocations": "1024",
            "paused": false,
            "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
            "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
            "additionalPayeePercentage": null,
            "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
            "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
            "royaltyPercentage": "5",
            "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
            "website": "https://legendsofmetaterra.com/pbab/project/0",
            "ipfsHash": null,
            "scriptTypeAndVersion": null
          }
        ]
      }
    ]
  }
}

project_series_by_pk

Description

fetch data from the table: "project_series" using primary key columns

Response

Returns a project_series

Arguments
Name Description
id - Int!

Example

Query
query project_series_by_pk($id: Int!) {
  project_series_by_pk(id: $id) {
    id
    projects {
      ...projects_metadataFragment
    }
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "project_series_by_pk": {
      "id": 123,
      "projects": [
        {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        }
      ]
    }
  }
}

project_vertical_categories

Description

fetch data from the table: "project_vertical_categories"

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query project_vertical_categories(
  $limit: Int,
  $offset: Int
) {
  project_vertical_categories(
    limit: $limit,
    offset: $offset
  ) {
    category {
      ...categoriesFragment
    }
    hosted
    name
    verticals {
      ...project_verticalsFragment
    }
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "project_vertical_categories": [
      {
        "category": categories,
        "hosted": true,
        "name": "collaborations",
        "verticals": [project_verticals]
      }
    ]
  }
}

project_vertical_categories_by_pk

Description

fetch data from the table: "project_vertical_categories" using primary key columns

Response

Returns a project_vertical_categories

Arguments
Name Description
name - categories_enum!

Example

Query
query project_vertical_categories_by_pk($name: categories_enum!) {
  project_vertical_categories_by_pk(name: $name) {
    category {
      ...categoriesFragment
    }
    hosted
    name
    verticals {
      ...project_verticalsFragment
    }
  }
}
Variables
{"name": "collaborations"}
Response
{
  "data": {
    "project_vertical_categories_by_pk": {
      "category": categories,
      "hosted": true,
      "name": "collaborations",
      "verticals": [project_verticals]
    }
  }
}

project_verticals

Description

fetch data from the table: "project_verticals"

Response

Returns [project_verticals!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query project_verticals(
  $limit: Int,
  $offset: Int
) {
  project_verticals(
    limit: $limit,
    offset: $offset
  ) {
    active
    category {
      ...project_vertical_categoriesFragment
    }
    category_name
    description
    display_name
    name
    projects {
      ...projects_metadataFragment
    }
    vertical {
      ...verticalsFragment
    }
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "project_verticals": [
      {
        "active": false,
        "category": project_vertical_categories,
        "category_name": "Example....1..2..3...",
        "description": "Example....1..2..3...",
        "display_name": "Example....1..2..3...",
        "name": "artblocksxbrightmoments",
        "projects": [
          {
            "activated_at": "2022-09-16T19:33:12+00:00",
            "active": false,
            "additional_payee": "0x000000000000000000000000000000000000dEaD",
            "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
            "projectId": "0",
            "additionalPayee": null,
            "curationStatus": null,
            "name": "Sacred Trees",
            "artistName": "hideo",
            "complete": false,
            "currencySymbol": "LEGEND",
            "license": "CC BY-NC-SA 4.0",
            "aspectRatio": null,
            "maxInvocations": "1024",
            "paused": false,
            "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
            "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
            "additionalPayeePercentage": null,
            "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
            "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
            "royaltyPercentage": "5",
            "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
            "website": "https://legendsofmetaterra.com/pbab/project/0",
            "ipfsHash": null,
            "scriptTypeAndVersion": null
          }
        ],
        "vertical": verticals
      }
    ]
  }
}

project_verticals_by_pk

Description

fetch data from the table: "project_verticals" using primary key columns

Response

Returns a project_verticals

Arguments
Name Description
name - verticals_enum!

Example

Query
query project_verticals_by_pk($name: verticals_enum!) {
  project_verticals_by_pk(name: $name) {
    active
    category {
      ...project_vertical_categoriesFragment
    }
    category_name
    description
    display_name
    name
    projects {
      ...projects_metadataFragment
    }
    vertical {
      ...verticalsFragment
    }
  }
}
Variables
{"name": "artblocksxbrightmoments"}
Response
{
  "data": {
    "project_verticals_by_pk": {
      "active": true,
      "category": project_vertical_categories,
      "category_name": "Example....1..2..3...",
      "description": "Example....1..2..3...",
      "display_name": "Example....1..2..3...",
      "name": "artblocksxbrightmoments",
      "projects": [
        {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        }
      ],
      "vertical": verticals
    }
  }
}

projects_features

Description

fetch data from the table: "projects_features"

Response

Returns [projects_features!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query projects_features(
  $limit: Int,
  $offset: Int
) {
  projects_features(
    limit: $limit,
    offset: $offset
  ) {
    enable_artist_update_after_completion
    feature_fields
    feature_fields_counts
    id
    project {
      ...projects_metadataFragment
    }
    project_id
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "projects_features": [
      {
        "enable_artist_update_after_completion": false,
        "feature_fields": jsonb,
        "feature_fields_counts": jsonb,
        "id": 123,
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3..."
      }
    ]
  }
}

projects_features_by_pk

Description

fetch data from the table: "projects_features" using primary key columns

Response

Returns a projects_features

Arguments
Name Description
id - Int!

Example

Query
query projects_features_by_pk($id: Int!) {
  projects_features_by_pk(id: $id) {
    enable_artist_update_after_completion
    feature_fields
    feature_fields_counts
    id
    project {
      ...projects_metadataFragment
    }
    project_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "projects_features_by_pk": {
      "enable_artist_update_after_completion": false,
      "feature_fields": jsonb,
      "feature_fields_counts": jsonb,
      "id": 123,
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3..."
    }
  }
}

projects_metadata

Description

fetch data from the table: "projects_metadata"

Response

Returns [projects_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query projects_metadata(
  $limit: Int,
  $offset: Int
) {
  projects_metadata(
    limit: $limit,
    offset: $offset
  ) {
    activated_at
    active
    additional_payee
    additional_payee_percentage
    additional_payee_secondary_sales_address
    additional_payee_secondary_sales_percentage
    additional_payee_splitter {
      ...split_atomic_contractsFragment
    }
    article {
      ...ArticleEntityResponseCollectionFragment
    }
    artist {
      ...usersFragment
    }
    artistPage {
      ...ArtistEditorialPageEntityResponseCollectionFragment
    }
    artist_address
    artist_display_notes
    artist_featured_token_id
    artist_interview
    artist_name
    aspect_ratio
    auction_end_time
    auction_start_time
    base_uri
    bids {
      ...bids_metadataFragment
    }
    bids_aggregate {
      ...bids_metadata_aggregateFragment
    }
    canvas_mode
    charitable_giving_details
    complete
    completed_at
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    creative_credit
    curation_status
    curation_status_display
    curation_status_override
    currency_address
    currency_decimals
    currency_symbol
    dependency {
      ...dependencies_metadataFragment
    }
    dependency_name_and_version
    description
    disable_auto_image_format
    disable_sample_generator
    display_static
    engine_platform_provider_secondary_sales_address
    engine_platform_provider_secondary_sales_bps
    erc2981_splitter_address
    erc2981_splitter_contract {
      ...royalty_splitter_contractsFragment
    }
    exhibition {
      ...ExhibitionEntityResponseCollectionFragment
    }
    external_asset_dependencies {
      ...project_external_asset_dependenciesFragment
    }
    external_asset_dependencies_locked
    external_asset_dependency_count
    favorited_by_user
    favorites {
      ...favoritesFragment
    }
    featured_token {
      ...tokens_metadataFragment
    }
    features {
      ...projects_featuresFragment
    }
    first_token_minted_at
    generate_video_assets
    heritage_curation_status
    id
    index
    invocations
    ipfs_hash
    is_artblocks
    license
    link_to_license
    locked
    lowest_listing
    max_invocations
    minter_configuration {
      ...project_minter_configurationsFragment
    }
    minter_configuration_id
    name
    oob_tokens {
      ...oob_tokens_metadataFragment
    }
    oob_tokens_aggregate {
      ...oob_tokens_metadata_aggregateFragment
    }
    paused
    preview_render_type
    price_per_token_in_wei
    primary_render_type
    project_id
    properties_updated_at
    proposed_artist_addresses_and_split {
      ...proposed_artist_addresses_and_splitsFragment
    }
    proposed_artists_and_splits_id
    random_oob_token {
      ...oob_tokens_metadataFragment
    }
    random_token {
      ...tokens_metadataFragment
    }
    read_only_addresses
    receipts {
      ...receipt_metadataFragment
    }
    refresh_requests {
      ...refresh_requestsFragment
    }
    render_complete
    render_delay
    render_provider_secondary_sales_address
    render_provider_secondary_sales_bps
    render_with_gpu
    royalty_percentage
    sales_notes
    script
    script_count
    script_json
    script_type_and_version
    script_type_and_version_override
    scripts {
      ...project_scriptsFragment
    }
    second_token_minted_at
    series {
      ...project_seriesFragment
    }
    series_id
    start_datetime
    tags {
      ...entity_tagsFragment
    }
    tokens {
      ...tokens_metadataFragment
    }
    updated_at
    user_is_artist
    vertical {
      ...project_verticalsFragment
    }
    vertical_name
    video_aspect_ratio
    video_duration
    video_fps
    video_render_delay
    website
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "projects_metadata": [
      {
        "activated_at": timestamptz,
        "active": true,
        "additional_payee": "Example....1..2..3...",
        "additional_payee_percentage": 123,
        "additional_payee_secondary_sales_address": "Example....1..2..3...",
        "additional_payee_secondary_sales_percentage": 123,
        "additional_payee_splitter": split_atomic_contracts,
        "article": ArticleEntityResponseCollection,
        "artist": users,
        "artistPage": ArtistEditorialPageEntityResponseCollection,
        "artist_address": "Example....1..2..3...",
        "artist_display_notes": "Example....1..2..3...",
        "artist_featured_token_id": "Example....1..2..3...",
        "artist_interview": "Example....1..2..3...",
        "artist_name": "Example....1..2..3...",
        "aspect_ratio": numeric,
        "auction_end_time": timestamptz,
        "auction_start_time": timestamptz,
        "base_uri": "Example....1..2..3...",
        "bids": [bids_metadata],
        "bids_aggregate": bids_metadata_aggregate,
        "canvas_mode": true,
        "charitable_giving_details": "Example....1..2..3...",
        "complete": false,
        "completed_at": timestamptz,
        "contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "contract_address": "Example....1..2..3...",
        "creative_credit": "Example....1..2..3...",
        "curation_status": "collaboration",
        "curation_status_display": "Example....1..2..3...",
        "curation_status_override": "collaboration",
        "currency_address": "Example....1..2..3...",
        "currency_decimals": 987,
        "currency_symbol": "Example....1..2..3...",
        "dependency": {
          "type_and_version": "three@0.124.0",
          "preferred_cdn": "https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.min.js",
          "preferred_repository": "https://github.com/mrdoob/three.js",
          "reference_website": null,
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "updated_at": "2023-02-07T20:56:36.768687+00:00",
          "updated_onchain_at": "2023-02-07T20:54:48+00:00",
          "script": "{/**//*! p5.js v1.0.0 February 29, 2020 */ !function(e){if('object'==type....}"
        },
        "dependency_name_and_version": "Example....1..2..3...",
        "description": "Example....1..2..3...",
        "disable_auto_image_format": false,
        "disable_sample_generator": false,
        "display_static": false,
        "engine_platform_provider_secondary_sales_address": "Example....1..2..3...",
        "engine_platform_provider_secondary_sales_bps": 123,
        "erc2981_splitter_address": "Example....1..2..3...",
        "erc2981_splitter_contract": royalty_splitter_contracts,
        "exhibition": ExhibitionEntityResponseCollection,
        "external_asset_dependencies": [
          project_external_asset_dependencies
        ],
        "external_asset_dependencies_locked": true,
        "external_asset_dependency_count": bigint,
        "favorited_by_user": true,
        "favorites": [favorites],
        "featured_token": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            "favorited_by_user": false,
            "isFlaggedAsSuspicious": null,
            "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
            "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
            "minted_at": "2022-09-08T19:53:24+00:00"
          }
        ],
        "features": projects_features,
        "first_token_minted_at": timestamptz,
        "generate_video_assets": false,
        "heritage_curation_status": "Example....1..2..3...",
        "id": "Example....1..2..3...",
        "index": 123,
        "invocations": bigint,
        "ipfs_hash": "Example....1..2..3...",
        "is_artblocks": true,
        "license": "Example....1..2..3...",
        "link_to_license": "Example....1..2..3...",
        "locked": false,
        "lowest_listing": float8,
        "max_invocations": 987,
        "minter_configuration": project_minter_configurations,
        "minter_configuration_id": "Example....1..2..3...",
        "name": "Example....1..2..3...",
        "oob_tokens": [oob_tokens_metadata],
        "oob_tokens_aggregate": oob_tokens_metadata_aggregate,
        "paused": false,
        "preview_render_type": "gif",
        "price_per_token_in_wei": "Example....1..2..3...",
        "primary_render_type": "gif",
        "project_id": "Example....1..2..3...",
        "properties_updated_at": jsonb,
        "proposed_artist_addresses_and_split": proposed_artist_addresses_and_splits,
        "proposed_artists_and_splits_id": "Example....1..2..3...",
        "random_oob_token": [oob_tokens_metadata],
        "random_token": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            "favorited_by_user": false,
            "isFlaggedAsSuspicious": null,
            "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
            "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
            "minted_at": "2022-09-08T19:53:24+00:00"
          }
        ],
        "read_only_addresses": jsonb,
        "receipts": [
          {
            "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
            "netPosted": "557638888888888889",
            "numPurchased": "1"
          }
        ],
        "refresh_requests": [refresh_requests],
        "render_complete": false,
        "render_delay": 123,
        "render_provider_secondary_sales_address": "Example....1..2..3...",
        "render_provider_secondary_sales_bps": 987,
        "render_with_gpu": true,
        "royalty_percentage": 123,
        "sales_notes": "Example....1..2..3...",
        "script": "Example....1..2..3...",
        "script_count": bigint,
        "script_json": jsonb,
        "script_type_and_version": "Example....1..2..3...",
        "script_type_and_version_override": "Example....1..2..3...",
        "scripts": [project_scripts],
        "second_token_minted_at": timestamptz,
        "series": project_series,
        "series_id": 987,
        "start_datetime": timestamptz,
        "tags": [entity_tags],
        "tokens": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            "favorited_by_user": false,
            "isFlaggedAsSuspicious": null,
            "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
            "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
            "minted_at": "2022-09-08T19:53:24+00:00"
          }
        ],
        "updated_at": "2022-09-16T19:33:12+00:00",
        "user_is_artist": false,
        "vertical": project_verticals,
        "vertical_name": "Example....1..2..3...",
        "video_aspect_ratio": numeric,
        "video_duration": 987,
        "video_fps": 123,
        "video_render_delay": 123,
        "website": "Example....1..2..3..."
      }
    ]
  }
}

projects_metadata_by_pk

Description

fetch data from the table: "projects_metadata" using primary key columns

Response

Returns a projects_metadata

Arguments
Name Description
id - String!

Example

Query
query projects_metadata_by_pk($id: String!) {
  projects_metadata_by_pk(id: $id) {
    activated_at
    active
    additional_payee
    additional_payee_percentage
    additional_payee_secondary_sales_address
    additional_payee_secondary_sales_percentage
    additional_payee_splitter {
      ...split_atomic_contractsFragment
    }
    article {
      ...ArticleEntityResponseCollectionFragment
    }
    artist {
      ...usersFragment
    }
    artistPage {
      ...ArtistEditorialPageEntityResponseCollectionFragment
    }
    artist_address
    artist_display_notes
    artist_featured_token_id
    artist_interview
    artist_name
    aspect_ratio
    auction_end_time
    auction_start_time
    base_uri
    bids {
      ...bids_metadataFragment
    }
    bids_aggregate {
      ...bids_metadata_aggregateFragment
    }
    canvas_mode
    charitable_giving_details
    complete
    completed_at
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    creative_credit
    curation_status
    curation_status_display
    curation_status_override
    currency_address
    currency_decimals
    currency_symbol
    dependency {
      ...dependencies_metadataFragment
    }
    dependency_name_and_version
    description
    disable_auto_image_format
    disable_sample_generator
    display_static
    engine_platform_provider_secondary_sales_address
    engine_platform_provider_secondary_sales_bps
    erc2981_splitter_address
    erc2981_splitter_contract {
      ...royalty_splitter_contractsFragment
    }
    exhibition {
      ...ExhibitionEntityResponseCollectionFragment
    }
    external_asset_dependencies {
      ...project_external_asset_dependenciesFragment
    }
    external_asset_dependencies_locked
    external_asset_dependency_count
    favorited_by_user
    favorites {
      ...favoritesFragment
    }
    featured_token {
      ...tokens_metadataFragment
    }
    features {
      ...projects_featuresFragment
    }
    first_token_minted_at
    generate_video_assets
    heritage_curation_status
    id
    index
    invocations
    ipfs_hash
    is_artblocks
    license
    link_to_license
    locked
    lowest_listing
    max_invocations
    minter_configuration {
      ...project_minter_configurationsFragment
    }
    minter_configuration_id
    name
    oob_tokens {
      ...oob_tokens_metadataFragment
    }
    oob_tokens_aggregate {
      ...oob_tokens_metadata_aggregateFragment
    }
    paused
    preview_render_type
    price_per_token_in_wei
    primary_render_type
    project_id
    properties_updated_at
    proposed_artist_addresses_and_split {
      ...proposed_artist_addresses_and_splitsFragment
    }
    proposed_artists_and_splits_id
    random_oob_token {
      ...oob_tokens_metadataFragment
    }
    random_token {
      ...tokens_metadataFragment
    }
    read_only_addresses
    receipts {
      ...receipt_metadataFragment
    }
    refresh_requests {
      ...refresh_requestsFragment
    }
    render_complete
    render_delay
    render_provider_secondary_sales_address
    render_provider_secondary_sales_bps
    render_with_gpu
    royalty_percentage
    sales_notes
    script
    script_count
    script_json
    script_type_and_version
    script_type_and_version_override
    scripts {
      ...project_scriptsFragment
    }
    second_token_minted_at
    series {
      ...project_seriesFragment
    }
    series_id
    start_datetime
    tags {
      ...entity_tagsFragment
    }
    tokens {
      ...tokens_metadataFragment
    }
    updated_at
    user_is_artist
    vertical {
      ...project_verticalsFragment
    }
    vertical_name
    video_aspect_ratio
    video_duration
    video_fps
    video_render_delay
    website
  }
}
Variables
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "projects_metadata_by_pk": {
      "activated_at": timestamptz,
      "active": true,
      "additional_payee": "Example....1..2..3...",
      "additional_payee_percentage": 123,
      "additional_payee_secondary_sales_address": "Example....1..2..3...",
      "additional_payee_secondary_sales_percentage": 987,
      "additional_payee_splitter": split_atomic_contracts,
      "article": ArticleEntityResponseCollection,
      "artist": users,
      "artistPage": ArtistEditorialPageEntityResponseCollection,
      "artist_address": "Example....1..2..3...",
      "artist_display_notes": "Example....1..2..3...",
      "artist_featured_token_id": "Example....1..2..3...",
      "artist_interview": "Example....1..2..3...",
      "artist_name": "Example....1..2..3...",
      "aspect_ratio": numeric,
      "auction_end_time": timestamptz,
      "auction_start_time": timestamptz,
      "base_uri": "Example....1..2..3...",
      "bids": [bids_metadata],
      "bids_aggregate": bids_metadata_aggregate,
      "canvas_mode": true,
      "charitable_giving_details": "Example....1..2..3...",
      "complete": true,
      "completed_at": timestamptz,
      "contract": {
        "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
        "updated_at": "2023-03-30T20:22:01.629861",
        "bucket_name": "art-blocks-dev-goerli",
        "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_percentage": 10,
        "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
        "generator_url": "https://generator.artblocks.io",
        "default_vertical_name": "presents",
        "contract_type": "GenArt721CoreV3",
        "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
        "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
        "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_secondary_sales_bps": 251,
        "new_projects_forbidden_onchain": false,
        "new_projects_forbidden_offchain": false,
        "preferred_ipfs_gateway": null,
        "preferred_arweave_gateway": null
      },
      "contract_address": "Example....1..2..3...",
      "creative_credit": "Example....1..2..3...",
      "curation_status": "collaboration",
      "curation_status_display": "Example....1..2..3...",
      "curation_status_override": "collaboration",
      "currency_address": "Example....1..2..3...",
      "currency_decimals": 987,
      "currency_symbol": "Example....1..2..3...",
      "dependency": {
        "type_and_version": "three@0.124.0",
        "preferred_cdn": "https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.min.js",
        "preferred_repository": "https://github.com/mrdoob/three.js",
        "reference_website": null,
        "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
        "updated_at": "2023-02-07T20:56:36.768687+00:00",
        "updated_onchain_at": "2023-02-07T20:54:48+00:00",
        "script": "{/**//*! p5.js v1.0.0 February 29, 2020 */ !function(e){if('object'==type....}"
      },
      "dependency_name_and_version": "Example....1..2..3...",
      "description": "Example....1..2..3...",
      "disable_auto_image_format": true,
      "disable_sample_generator": false,
      "display_static": true,
      "engine_platform_provider_secondary_sales_address": "Example....1..2..3...",
      "engine_platform_provider_secondary_sales_bps": 987,
      "erc2981_splitter_address": "Example....1..2..3...",
      "erc2981_splitter_contract": royalty_splitter_contracts,
      "exhibition": ExhibitionEntityResponseCollection,
      "external_asset_dependencies": [
        project_external_asset_dependencies
      ],
      "external_asset_dependencies_locked": false,
      "external_asset_dependency_count": bigint,
      "favorited_by_user": true,
      "favorites": [favorites],
      "featured_token": [
        {
          "features": {
            "Color": "Gradient",
            "Grain": "Medium",
            "Style": "Company"
          },
          "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
          "invocation": "100",
          "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
          "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
          "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
          "favorited_by_user": false,
          "isFlaggedAsSuspicious": null,
          "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
          "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
          "minted_at": "2022-09-08T19:53:24+00:00"
        }
      ],
      "features": projects_features,
      "first_token_minted_at": timestamptz,
      "generate_video_assets": false,
      "heritage_curation_status": "Example....1..2..3...",
      "id": "Example....1..2..3...",
      "index": 123,
      "invocations": bigint,
      "ipfs_hash": "Example....1..2..3...",
      "is_artblocks": false,
      "license": "Example....1..2..3...",
      "link_to_license": "Example....1..2..3...",
      "locked": false,
      "lowest_listing": float8,
      "max_invocations": 987,
      "minter_configuration": project_minter_configurations,
      "minter_configuration_id": "Example....1..2..3...",
      "name": "Example....1..2..3...",
      "oob_tokens": [oob_tokens_metadata],
      "oob_tokens_aggregate": oob_tokens_metadata_aggregate,
      "paused": false,
      "preview_render_type": "gif",
      "price_per_token_in_wei": "Example....1..2..3...",
      "primary_render_type": "gif",
      "project_id": "Example....1..2..3...",
      "properties_updated_at": jsonb,
      "proposed_artist_addresses_and_split": proposed_artist_addresses_and_splits,
      "proposed_artists_and_splits_id": "Example....1..2..3...",
      "random_oob_token": [oob_tokens_metadata],
      "random_token": [
        {
          "features": {
            "Color": "Gradient",
            "Grain": "Medium",
            "Style": "Company"
          },
          "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
          "invocation": "100",
          "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
          "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
          "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
          "favorited_by_user": false,
          "isFlaggedAsSuspicious": null,
          "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
          "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
          "minted_at": "2022-09-08T19:53:24+00:00"
        }
      ],
      "read_only_addresses": jsonb,
      "receipts": [
        {
          "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
          "netPosted": "557638888888888889",
          "numPurchased": "1"
        }
      ],
      "refresh_requests": [refresh_requests],
      "render_complete": false,
      "render_delay": 987,
      "render_provider_secondary_sales_address": "Example....1..2..3...",
      "render_provider_secondary_sales_bps": 123,
      "render_with_gpu": false,
      "royalty_percentage": 123,
      "sales_notes": "Example....1..2..3...",
      "script": "Example....1..2..3...",
      "script_count": bigint,
      "script_json": jsonb,
      "script_type_and_version": "Example....1..2..3...",
      "script_type_and_version_override": "Example....1..2..3...",
      "scripts": [project_scripts],
      "second_token_minted_at": timestamptz,
      "series": project_series,
      "series_id": 987,
      "start_datetime": timestamptz,
      "tags": [entity_tags],
      "tokens": [
        {
          "features": {
            "Color": "Gradient",
            "Grain": "Medium",
            "Style": "Company"
          },
          "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
          "invocation": "100",
          "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
          "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
          "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
          "favorited_by_user": false,
          "isFlaggedAsSuspicious": null,
          "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
          "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
          "minted_at": "2022-09-08T19:53:24+00:00"
        }
      ],
      "updated_at": "2022-09-16T19:33:12+00:00",
      "user_is_artist": false,
      "vertical": project_verticals,
      "vertical_name": "Example....1..2..3...",
      "video_aspect_ratio": numeric,
      "video_duration": 987,
      "video_fps": 123,
      "video_render_delay": 987,
      "website": "Example....1..2..3..."
    }
  }
}

proposed_artist_addresses_and_splits

Description

fetch data from the table: "proposed_artist_addresses_and_splits"

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query proposed_artist_addresses_and_splits(
  $limit: Int,
  $offset: Int
) {
  proposed_artist_addresses_and_splits(
    limit: $limit,
    offset: $offset
  ) {
    additional_payee_primary_sales
    additional_payee_primary_sales_percentage
    additional_payee_secondary_sales
    additional_payee_secondary_sales_percentage
    additional_payee_splitter {
      ...split_atomic_contractsFragment
    }
    artist_address
    project {
      ...projects_metadataFragment
    }
    project_id
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "proposed_artist_addresses_and_splits": [
      {
        "additional_payee_primary_sales": "Example....1..2..3...",
        "additional_payee_primary_sales_percentage": 123,
        "additional_payee_secondary_sales": "Example....1..2..3...",
        "additional_payee_secondary_sales_percentage": 123,
        "additional_payee_splitter": split_atomic_contracts,
        "artist_address": "Example....1..2..3...",
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3..."
      }
    ]
  }
}

proposed_artist_addresses_and_splits_by_pk

Description

fetch data from the table: "proposed_artist_addresses_and_splits" using primary key columns

Arguments
Name Description
project_id - String!

Example

Query
query proposed_artist_addresses_and_splits_by_pk($project_id: String!) {
  proposed_artist_addresses_and_splits_by_pk(project_id: $project_id) {
    additional_payee_primary_sales
    additional_payee_primary_sales_percentage
    additional_payee_secondary_sales
    additional_payee_secondary_sales_percentage
    additional_payee_splitter {
      ...split_atomic_contractsFragment
    }
    artist_address
    project {
      ...projects_metadataFragment
    }
    project_id
  }
}
Variables
{"project_id": "Example....1..2..3..."}
Response
{
  "data": {
    "proposed_artist_addresses_and_splits_by_pk": {
      "additional_payee_primary_sales": "Example....1..2..3...",
      "additional_payee_primary_sales_percentage": 987,
      "additional_payee_secondary_sales": "Example....1..2..3...",
      "additional_payee_secondary_sales_percentage": 123,
      "additional_payee_splitter": split_atomic_contracts,
      "artist_address": "Example....1..2..3...",
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3..."
    }
  }
}

receipt_metadata

Description

fetch data from the table: "receipt_metadata"

Response

Returns [receipt_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query receipt_metadata(
  $limit: Int,
  $offset: Int
) {
  receipt_metadata(
    limit: $limit,
    offset: $offset
  ) {
    excess_settlement_funds
    id
    minter {
      ...minters_metadataFragment
    }
    minter_id
    net_posted
    num_purchased
    project {
      ...projects_metadataFragment
    }
    project_id
    project_minter_configuration {
      ...project_minter_configurationsFragment
    }
    user {
      ...usersFragment
    }
    user_address
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "receipt_metadata": [
      {
        "excess_settlement_funds": "Example....1..2..3...",
        "id": "Example....1..2..3...",
        "minter": {
          "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
          "minimum_auction_length_in_seconds": 3600,
          "minter_type": "MinterDALinV1",
          "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
          "maximum_price_decay_half_life_in_seconds": 3600,
          "minimum_price_decay_half_life_in_seconds": 300,
          "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
          "extra_minter_details": "{...}"
        },
        "minter_id": "Example....1..2..3...",
        "net_posted": "Example....1..2..3...",
        "num_purchased": "Example....1..2..3...",
        "project": {
          "activated_at": "2022-09-16T19:33:12+00:00",
          "active": false,
          "additional_payee": "0x000000000000000000000000000000000000dEaD",
          "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
          "projectId": "0",
          "additionalPayee": null,
          "curationStatus": null,
          "name": "Sacred Trees",
          "artistName": "hideo",
          "complete": false,
          "currencySymbol": "LEGEND",
          "license": "CC BY-NC-SA 4.0",
          "aspectRatio": null,
          "maxInvocations": "1024",
          "paused": false,
          "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
          "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
          "additionalPayeePercentage": null,
          "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
          "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
          "royaltyPercentage": "5",
          "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
          "website": "https://legendsofmetaterra.com/pbab/project/0",
          "ipfsHash": null,
          "scriptTypeAndVersion": null
        },
        "project_id": "Example....1..2..3...",
        "project_minter_configuration": project_minter_configurations,
        "user": users,
        "user_address": "Example....1..2..3..."
      }
    ]
  }
}

receipt_metadata_by_pk

Description

fetch data from the table: "receipt_metadata" using primary key columns

Response

Returns a receipt_metadata

Arguments
Name Description
id - String!

Example

Query
query receipt_metadata_by_pk($id: String!) {
  receipt_metadata_by_pk(id: $id) {
    excess_settlement_funds
    id
    minter {
      ...minters_metadataFragment
    }
    minter_id
    net_posted
    num_purchased
    project {
      ...projects_metadataFragment
    }
    project_id
    project_minter_configuration {
      ...project_minter_configurationsFragment
    }
    user {
      ...usersFragment
    }
    user_address
  }
}
Variables
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "receipt_metadata_by_pk": {
      "excess_settlement_funds": "Example....1..2..3...",
      "id": "Example....1..2..3...",
      "minter": {
        "address": "0x25e406fa37ade314869f5feea7fbbb252dcacb48",
        "minimum_auction_length_in_seconds": 3600,
        "minter_type": "MinterDALinV1",
        "minter_filter_address": "0x2a85c3c3e1c404a03e54cec6af013ee0714f26db",
        "maximum_price_decay_half_life_in_seconds": 3600,
        "minimum_price_decay_half_life_in_seconds": 300,
        "core_contract_address": "0x7077e777c29ae870d6842b4d1e94511077c99825",
        "extra_minter_details": "{...}"
      },
      "minter_id": "Example....1..2..3...",
      "net_posted": "Example....1..2..3...",
      "num_purchased": "Example....1..2..3...",
      "project": {
        "activated_at": "2022-09-16T19:33:12+00:00",
        "active": false,
        "additional_payee": "0x000000000000000000000000000000000000dEaD",
        "id": "0x010be6545e14f1dc50256286d9920e833f809c6a-0",
        "projectId": "0",
        "additionalPayee": null,
        "curationStatus": null,
        "name": "Sacred Trees",
        "artistName": "hideo",
        "complete": false,
        "currencySymbol": "LEGEND",
        "license": "CC BY-NC-SA 4.0",
        "aspectRatio": null,
        "maxInvocations": "1024",
        "paused": false,
        "description": "Born from the Great Wizard’s dream, the Sacred Trees grow on distant worlds, surrounded by moons. Magic runes will be granted to those who see them in a vision.\n\nR: toggle rotation\ndrag and drop to rotate\nscroll to zoom in and out",
        "script": "THREE.OrbitControls=function(e,t){var n,o,a,i,r,s;void 0===t&&console.warn('THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.')",
        "additionalPayeePercentage": null,
        "baseUri": "https://token.artblocks.io/0x010bE6545e14f1DC50256286d9920e833F809C6A/",
        "currencyAddress": "0x79592dcfd7dd0ba5c7b1faed25dfed61e8664ef9",
        "royaltyPercentage": "5",
        "scriptJSON": "{\"aspectRatio\":\"1\",\"type\":\"threejs\"}",
        "website": "https://legendsofmetaterra.com/pbab/project/0",
        "ipfsHash": null,
        "scriptTypeAndVersion": null
      },
      "project_id": "Example....1..2..3...",
      "project_minter_configuration": project_minter_configurations,
      "user": users,
      "user_address": "Example....1..2..3..."
    }
  }
}

refresh_requests

Description

An array relationship

Response

Returns [refresh_requests!]!

Arguments
Name Description
distinct_on - [refresh_requests_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query refresh_requests(
  $distinct_on: [refresh_requests_select_column!],
  $limit: Int,
  $offset: Int
) {
  refresh_requests(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    completed_at
    id
    processing_jobs {
      ...processing_jobsFragment
    }
    project_id
    queue_weight
    request_type
    submitted_at
    token_ids
  }
}
Variables
{"distinct_on": ["completed_at"], "limit": 987, "offset": 123}
Response
{
  "data": {
    "refresh_requests": [
      {
        "completed_at": timestamptz,
        "id": uuid,
        "processing_jobs": [processing_jobs],
        "project_id": "Example....1..2..3...",
        "queue_weight": bigint,
        "request_type": "Project",
        "submitted_at": timestamptz,
        "token_ids": jsonb
      }
    ]
  }
}

refresh_requests_by_pk

Description

fetch data from the table: "refresh_requests" using primary key columns

Response

Returns a refresh_requests

Arguments
Name Description
id - uuid!

Example

Query
query refresh_requests_by_pk($id: uuid!) {
  refresh_requests_by_pk(id: $id) {
    completed_at
    id
    processing_jobs {
      ...processing_jobsFragment
    }
    project_id
    queue_weight
    request_type
    submitted_at
    token_ids
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "refresh_requests_by_pk": {
      "completed_at": timestamptz,
      "id": uuid,
      "processing_jobs": [processing_jobs],
      "project_id": "Example....1..2..3...",
      "queue_weight": bigint,
      "request_type": "Project",
      "submitted_at": timestamptz,
      "token_ids": jsonb
    }
  }
}

render_types

Description

fetch data from the table: "render_types"

Response

Returns [render_types!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query render_types(
  $limit: Int,
  $offset: Int
) {
  render_types(
    limit: $limit,
    offset: $offset
  ) {
    label
    value
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "render_types": [
      {
        "label": "Example....1..2..3...",
        "value": "Example....1..2..3..."
      }
    ]
  }
}

render_types_by_pk

Description

fetch data from the table: "render_types" using primary key columns

Response

Returns a render_types

Arguments
Name Description
value - String!

Example

Query
query render_types_by_pk($value: String!) {
  render_types_by_pk(value: $value) {
    label
    value
  }
}
Variables
{"value": "Example....1..2..3..."}
Response
{
  "data": {
    "render_types_by_pk": {
      "label": "Example....1..2..3...",
      "value": "Example....1..2..3..."
    }
  }
}

royalty_split_recipients

Description

An array relationship

Response

Returns [royalty_split_recipients!]!

Arguments
Name Description
distinct_on - [royalty_split_recipients_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query royalty_split_recipients(
  $distinct_on: [royalty_split_recipients_select_column!],
  $limit: Int,
  $offset: Int
) {
  royalty_split_recipients(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    allocation
    id
    recipient_address
    royalty_splitter_contract {
      ...royalty_splitter_contractsFragment
    }
    royalty_splitter_contract_address
  }
}
Variables
{"distinct_on": ["allocation"], "limit": 987, "offset": 987}
Response
{
  "data": {
    "royalty_split_recipients": [
      {
        "allocation": 123,
        "id": "Example....1..2..3...",
        "recipient_address": "Example....1..2..3...",
        "royalty_splitter_contract": royalty_splitter_contracts,
        "royalty_splitter_contract_address": "Example....1..2..3..."
      }
    ]
  }
}

royalty_split_recipients_by_pk

Description

fetch data from the table: "royalty_split_recipients" using primary key columns

Response

Returns a royalty_split_recipients

Arguments
Name Description
id - String!

Example

Query
query royalty_split_recipients_by_pk($id: String!) {
  royalty_split_recipients_by_pk(id: $id) {
    allocation
    id
    recipient_address
    royalty_splitter_contract {
      ...royalty_splitter_contractsFragment
    }
    royalty_splitter_contract_address
  }
}
Variables
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "royalty_split_recipients_by_pk": {
      "allocation": 987,
      "id": "Example....1..2..3...",
      "recipient_address": "Example....1..2..3...",
      "royalty_splitter_contract": royalty_splitter_contracts,
      "royalty_splitter_contract_address": "Example....1..2..3..."
    }
  }
}

royalty_splitter_contracts

Description

fetch data from the table: "royalty_splitter_contracts"

Arguments
Name Description
distinct_on - [royalty_splitter_contracts_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query royalty_splitter_contracts(
  $distinct_on: [royalty_splitter_contracts_select_column!],
  $limit: Int,
  $offset: Int
) {
  royalty_splitter_contracts(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    address
    core_contract {
      ...contracts_metadataFragment
    }
    core_contract_address
    royalty_split_recipients {
      ...royalty_split_recipientsFragment
    }
    split_provider_creator
    total_allocation
  }
}
Variables
{"distinct_on": ["address"], "limit": 123, "offset": 987}
Response
{
  "data": {
    "royalty_splitter_contracts": [
      {
        "address": "Example....1..2..3...",
        "core_contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "core_contract_address": "Example....1..2..3...",
        "royalty_split_recipients": [
          royalty_split_recipients
        ],
        "split_provider_creator": "Example....1..2..3...",
        "total_allocation": 123
      }
    ]
  }
}

royalty_splitter_contracts_by_pk

Description

fetch data from the table: "royalty_splitter_contracts" using primary key columns

Response

Returns a royalty_splitter_contracts

Arguments
Name Description
address - String!

Example

Query
query royalty_splitter_contracts_by_pk($address: String!) {
  royalty_splitter_contracts_by_pk(address: $address) {
    address
    core_contract {
      ...contracts_metadataFragment
    }
    core_contract_address
    royalty_split_recipients {
      ...royalty_split_recipientsFragment
    }
    split_provider_creator
    total_allocation
  }
}
Variables
{"address": "Example....1..2..3..."}
Response
{
  "data": {
    "royalty_splitter_contracts_by_pk": {
      "address": "Example....1..2..3...",
      "core_contract": {
        "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
        "updated_at": "2023-03-30T20:22:01.629861",
        "bucket_name": "art-blocks-dev-goerli",
        "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_percentage": 10,
        "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
        "generator_url": "https://generator.artblocks.io",
        "default_vertical_name": "presents",
        "contract_type": "GenArt721CoreV3",
        "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
        "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
        "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
        "render_provider_secondary_sales_bps": 251,
        "new_projects_forbidden_onchain": false,
        "new_projects_forbidden_offchain": false,
        "preferred_ipfs_gateway": null,
        "preferred_arweave_gateway": null
      },
      "core_contract_address": "Example....1..2..3...",
      "royalty_split_recipients": [
        royalty_split_recipients
      ],
      "split_provider_creator": "Example....1..2..3...",
      "total_allocation": 987
    }
  }
}

search_projects

Description

execute function "search_projects" which returns "projects_metadata"

Response

Returns [projects_metadata!]!

Arguments
Name Description
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by

Example

Query
query search_projects(
  $limit: Int,
  $offset: Int
) {
  search_projects(
    limit: $limit,
    offset: $offset
  ) {
    activated_at
    active
    additional_payee
    additional_payee_percentage
    additional_payee_secondary_sales_address
    additional_payee_secondary_sales_percentage
    additional_payee_splitter {
      ...split_atomic_contractsFragment
    }
    article {
      ...ArticleEntityResponseCollectionFragment
    }
    artist {
      ...usersFragment
    }
    artistPage {
      ...ArtistEditorialPageEntityResponseCollectionFragment
    }
    artist_address
    artist_display_notes
    artist_featured_token_id
    artist_interview
    artist_name
    aspect_ratio
    auction_end_time
    auction_start_time
    base_uri
    bids {
      ...bids_metadataFragment
    }
    bids_aggregate {
      ...bids_metadata_aggregateFragment
    }
    canvas_mode
    charitable_giving_details
    complete
    completed_at
    contract {
      ...contracts_metadataFragment
    }
    contract_address
    creative_credit
    curation_status
    curation_status_display
    curation_status_override
    currency_address
    currency_decimals
    currency_symbol
    dependency {
      ...dependencies_metadataFragment
    }
    dependency_name_and_version
    description
    disable_auto_image_format
    disable_sample_generator
    display_static
    engine_platform_provider_secondary_sales_address
    engine_platform_provider_secondary_sales_bps
    erc2981_splitter_address
    erc2981_splitter_contract {
      ...royalty_splitter_contractsFragment
    }
    exhibition {
      ...ExhibitionEntityResponseCollectionFragment
    }
    external_asset_dependencies {
      ...project_external_asset_dependenciesFragment
    }
    external_asset_dependencies_locked
    external_asset_dependency_count
    favorited_by_user
    favorites {
      ...favoritesFragment
    }
    featured_token {
      ...tokens_metadataFragment
    }
    features {
      ...projects_featuresFragment
    }
    first_token_minted_at
    generate_video_assets
    heritage_curation_status
    id
    index
    invocations
    ipfs_hash
    is_artblocks
    license
    link_to_license
    locked
    lowest_listing
    max_invocations
    minter_configuration {
      ...project_minter_configurationsFragment
    }
    minter_configuration_id
    name
    oob_tokens {
      ...oob_tokens_metadataFragment
    }
    oob_tokens_aggregate {
      ...oob_tokens_metadata_aggregateFragment
    }
    paused
    preview_render_type
    price_per_token_in_wei
    primary_render_type
    project_id
    properties_updated_at
    proposed_artist_addresses_and_split {
      ...proposed_artist_addresses_and_splitsFragment
    }
    proposed_artists_and_splits_id
    random_oob_token {
      ...oob_tokens_metadataFragment
    }
    random_token {
      ...tokens_metadataFragment
    }
    read_only_addresses
    receipts {
      ...receipt_metadataFragment
    }
    refresh_requests {
      ...refresh_requestsFragment
    }
    render_complete
    render_delay
    render_provider_secondary_sales_address
    render_provider_secondary_sales_bps
    render_with_gpu
    royalty_percentage
    sales_notes
    script
    script_count
    script_json
    script_type_and_version
    script_type_and_version_override
    scripts {
      ...project_scriptsFragment
    }
    second_token_minted_at
    series {
      ...project_seriesFragment
    }
    series_id
    start_datetime
    tags {
      ...entity_tagsFragment
    }
    tokens {
      ...tokens_metadataFragment
    }
    updated_at
    user_is_artist
    vertical {
      ...project_verticalsFragment
    }
    vertical_name
    video_aspect_ratio
    video_duration
    video_fps
    video_render_delay
    website
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "search_projects": [
      {
        "activated_at": timestamptz,
        "active": false,
        "additional_payee": "Example....1..2..3...",
        "additional_payee_percentage": 987,
        "additional_payee_secondary_sales_address": "Example....1..2..3...",
        "additional_payee_secondary_sales_percentage": 987,
        "additional_payee_splitter": split_atomic_contracts,
        "article": ArticleEntityResponseCollection,
        "artist": users,
        "artistPage": ArtistEditorialPageEntityResponseCollection,
        "artist_address": "Example....1..2..3...",
        "artist_display_notes": "Example....1..2..3...",
        "artist_featured_token_id": "Example....1..2..3...",
        "artist_interview": "Example....1..2..3...",
        "artist_name": "Example....1..2..3...",
        "aspect_ratio": numeric,
        "auction_end_time": timestamptz,
        "auction_start_time": timestamptz,
        "base_uri": "Example....1..2..3...",
        "bids": [bids_metadata],
        "bids_aggregate": bids_metadata_aggregate,
        "canvas_mode": false,
        "charitable_giving_details": "Example....1..2..3...",
        "complete": true,
        "completed_at": timestamptz,
        "contract": {
          "address": "0xf396c180bb2f92ee28535d23f5224a5b9425ceca",
          "updated_at": "2023-03-30T20:22:01.629861",
          "bucket_name": "art-blocks-dev-goerli",
          "admin": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_percentage": 10,
          "minter_filter_address": "0x7ecfffc1a3eb7ce76d4b29df3e5098d2d921d367",
          "generator_url": "https://generator.artblocks.io",
          "default_vertical_name": "presents",
          "contract_type": "GenArt721CoreV3",
          "curation_registry_address": "0x894f73632f6c39801d77b76da78fc22cb3a1a0de",
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "render_provider_secondary_sales_address": "0x3c6412fee019f5c50d6f03aa6f5045d99d9748c4",
          "render_provider_secondary_sales_bps": 251,
          "new_projects_forbidden_onchain": false,
          "new_projects_forbidden_offchain": false,
          "preferred_ipfs_gateway": null,
          "preferred_arweave_gateway": null
        },
        "contract_address": "Example....1..2..3...",
        "creative_credit": "Example....1..2..3...",
        "curation_status": "collaboration",
        "curation_status_display": "Example....1..2..3...",
        "curation_status_override": "collaboration",
        "currency_address": "Example....1..2..3...",
        "currency_decimals": 123,
        "currency_symbol": "Example....1..2..3...",
        "dependency": {
          "type_and_version": "three@0.124.0",
          "preferred_cdn": "https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.min.js",
          "preferred_repository": "https://github.com/mrdoob/three.js",
          "reference_website": null,
          "dependency_registry_address": "0x32caa016dd6e8d5750517d5777e2eb70287b023e",
          "updated_at": "2023-02-07T20:56:36.768687+00:00",
          "updated_onchain_at": "2023-02-07T20:54:48+00:00",
          "script": "{/**//*! p5.js v1.0.0 February 29, 2020 */ !function(e){if('object'==type....}"
        },
        "dependency_name_and_version": "Example....1..2..3...",
        "description": "Example....1..2..3...",
        "disable_auto_image_format": true,
        "disable_sample_generator": true,
        "display_static": true,
        "engine_platform_provider_secondary_sales_address": "Example....1..2..3...",
        "engine_platform_provider_secondary_sales_bps": 123,
        "erc2981_splitter_address": "Example....1..2..3...",
        "erc2981_splitter_contract": royalty_splitter_contracts,
        "exhibition": ExhibitionEntityResponseCollection,
        "external_asset_dependencies": [
          project_external_asset_dependencies
        ],
        "external_asset_dependencies_locked": true,
        "external_asset_dependency_count": bigint,
        "favorited_by_user": true,
        "favorites": [favorites],
        "featured_token": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            "favorited_by_user": false,
            "isFlaggedAsSuspicious": null,
            "live_view_path": "/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005",
            "media_url": "https://media-proxy-development.artblocks.io/0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6/8000005.png",
            "minted_at": "2022-09-08T19:53:24+00:00"
          }
        ],
        "features": projects_features,
        "first_token_minted_at": timestamptz,
        "generate_video_assets": true,
        "heritage_curation_status": "Example....1..2..3...",
        "id": "Example....1..2..3...",
        "index": 987,
        "invocations": bigint,
        "ipfs_hash": "Example....1..2..3...",
        "is_artblocks": true,
        "license": "Example....1..2..3...",
        "link_to_license": "Example....1..2..3...",
        "locked": true,
        "lowest_listing": float8,
        "max_invocations": 123,
        "minter_configuration": project_minter_configurations,
        "minter_configuration_id": "Example....1..2..3...",
        "name": "Example....1..2..3...",
        "oob_tokens": [oob_tokens_metadata],
        "oob_tokens_aggregate": oob_tokens_metadata_aggregate,
        "paused": false,
        "preview_render_type": "gif",
        "price_per_token_in_wei": "Example....1..2..3...",
        "primary_render_type": "gif",
        "project_id": "Example....1..2..3...",
        "properties_updated_at": jsonb,
        "proposed_artist_addresses_and_split": proposed_artist_addresses_and_splits,
        "proposed_artists_and_splits_id": "Example....1..2..3...",
        "random_oob_token": [oob_tokens_metadata],
        "random_token": [
          {
            "features": {
              "Color": "Gradient",
              "Grain": "Medium",
              "Style": "Company"
            },
            "hash": "0xf7d5d10b21719531d413abc2b8a66d8daf77a28fb18078c0149c7d1f754fe2d8",
            "invocation": "100",
            "mint_transaction_hash": "0x03de6230b355866f45c441cdfcf0531c375c1b72a49421e6385eb9284cd6df3f",
            "owner_address": "0xab0bfcafa3d6ec73344f195e98695965cd55f9ad",
            "contract_address": "0x1bf03f29c4fefffe4ee26704aaa31d85c026ace6",
            <