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": 987, "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": 987, "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
    log_index
    minter {
      ...minters_metadataFragment
    }
    minter_address
    project {
      ...projects_metadataFragment
    }
    project_id
    ram_id
    rank
    ranking
    settled
    slot_index
    time_of_bid
    token {
      ...tokens_metadataFragment
    }
    token_id
    tx_hash
    user {
      ...usersFragment
    }
    winning_bid
  }
}
Variables
{"distinct_on": ["bid_type"], "limit": 987, "offset": 987}
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,
        "log_index": 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_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...",
        "ram_id": 987,
        "rank": bigint,
        "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...",
        "tx_hash": "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": 123}
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
    log_index
    minter {
      ...minters_metadataFragment
    }
    minter_address
    project {
      ...projects_metadataFragment
    }
    project_id
    ram_id
    rank
    ranking
    settled
    slot_index
    time_of_bid
    token {
      ...tokens_metadataFragment
    }
    token_id
    tx_hash
    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,
      "log_index": 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_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...",
      "ram_id": 123,
      "rank": bigint,
      "ranking": 987,
      "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...",
      "tx_hash": "Example....1..2..3...",
      "user": users,
      "winning_bid": true
    }
  }
}

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": 987}
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": 123, "offset": 123}
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": 987}
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": 987, "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_render_provider_secondary_sales_address
    default_render_provider_secondary_sales_bps
    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
    royalty_split_provider
    token_base_url
    type {
      ...contract_typesFragment
    }
    updated_at
    user_is_allowlisted
  }
}
Variables
{"limit": 987, "offset": 987}
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_render_provider_secondary_sales_address": "Example....1..2..3...",
        "default_render_provider_secondary_sales_bps": 987,
        "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": 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": 123,
        "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
      }
    ]
  }
}

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_render_provider_secondary_sales_address
    default_render_provider_secondary_sales_bps
    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
    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_render_provider_secondary_sales_address": "Example....1..2..3...",
      "default_render_provider_secondary_sales_bps": 123,
      "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": false,
      "new_projects_forbidden_onchain": false,
      "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,
      "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": 987}
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": 987, "offset": 123}
Response
{
  "data": {
    "dependency_additional_cdns": [
      {
        "cdn": "Example....1..2..3...",
        "dependency_name_and_version": "Example....1..2..3...",
        "index": 987
      }
    ]
  }
}

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": 123
    }
  }
}

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": 987, "offset": 987}
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": 123, "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": 987,
      "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": 123, "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": 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..."
    }
  }
}

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": 987, "offset": 987}
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": 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..."
    }
  }
}

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": 987}
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": false
    }
  }
}

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": 123}
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": true,
        "favorites": [favorites],
        "features": jsonb,
        "gif": media,
        "gif_id": 987,
        "hash": "Example....1..2..3...",
        "high_res_image": media,
        "high_res_image_id": 987,
        "id": "Example....1..2..3...",
        "image": media,
        "image_id": 123,
        "invocation": 123,
        "is_flagged": false,
        "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": 987,
        "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": true}}

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": 987, "offset": 123}
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": 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": 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": 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": 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",
            "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": 123,
        "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": 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": true,
        "vertical": project_verticals,
        "vertical_name": "Example....1..2..3...",
        "video_aspect_ratio": numeric,
        "video_duration": 123,
        "video_fps": 987,
        "video_render_delay": 987,
        "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": 987, "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": 987}
Response
{
  "data": {
    "media_by_pk": {
      "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..."
    }
  }
}

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": 123}
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": 987, "offset": 123}
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": 123
      }
    ]
  }
}

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": true,
        "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": true,
      "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": 123}
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": 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": 123,
        "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": 123}
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": 123,
      "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": 123
    }
  }
}

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": 987, "offset": 123}
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": 123, "offset": 987}
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_metadata {
      ...dependencies_metadataFragment
    }
    dependency_type
    index
    project {
      ...projects_metadataFragment
    }
    project_id
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "project_external_asset_dependencies": [
      {
        "bytecode_address": "Example....1..2..3...",
        "cid": "Example....1..2..3...",
        "data": "Example....1..2..3...",
        "dependency_metadata": {
          "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_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_metadata {
      ...dependencies_metadataFragment
    }
    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_metadata": {
        "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_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": false,
        "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": true,
        "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": 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": true
    }
  }
}

project_ranked_bids

Description

execute function "project_ranked_bids" which returns "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 project_ranked_bids(
  $distinct_on: [bids_metadata_select_column!],
  $limit: Int,
  $offset: Int
) {
  project_ranked_bids(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    bid_type
    bid_value
    bidder_address
    core_contract {
      ...contracts_metadataFragment
    }
    core_contract_address
    id
    is_removed
    log_index
    minter {
      ...minters_metadataFragment
    }
    minter_address
    project {
      ...projects_metadataFragment
    }
    project_id
    ram_id
    rank
    ranking
    settled
    slot_index
    time_of_bid
    token {
      ...tokens_metadataFragment
    }
    token_id
    tx_hash
    user {
      ...usersFragment
    }
    winning_bid
  }
}
Variables
{"distinct_on": ["bid_type"], "limit": 123, "offset": 987}
Response
{
  "data": {
    "project_ranked_bids": [
      {
        "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,
        "log_index": 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_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...",
        "ram_id": 123,
        "rank": bigint,
        "ranking": 987,
        "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...",
        "tx_hash": "Example....1..2..3...",
        "user": users,
        "winning_bid": true
      }
    ]
  }
}

project_ranked_bids_aggregate

Description

execute function "project_ranked_bids" and query aggregates on result of table type "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 project_ranked_bids_aggregate(
  $distinct_on: [bids_metadata_select_column!],
  $limit: Int,
  $offset: Int
) {
  project_ranked_bids_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    aggregate {
      ...bids_metadata_aggregate_fieldsFragment
    }
    nodes {
      ...bids_metadataFragment
    }
  }
}
Variables
{"distinct_on": ["bid_type"], "limit": 123, "offset": 123}
Response
{
  "data": {
    "project_ranked_bids_aggregate": {
      "aggregate": bids_metadata_aggregate_fields,
      "nodes": [bids_metadata]
    }
  }
}

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": 123, "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": 987, "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": false,
      "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": 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
      }
    ]
  }
}

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": 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
    }
  }
}

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": 123}
Response
{
  "data": {
    "projects_features": [
      {
        "enable_artist_update_after_completion": true,
        "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": 123}
Response
{
  "data": {
    "projects_features_by_pk": {
      "enable_artist_update_after_completion": true,
      "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": 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": 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": 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": false,
        "display_static": false,
        "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": true,
        "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": 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": 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": 987,
        "video_fps": 987,
        "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": 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": 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": 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": 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": true,
      "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": 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": true,
      "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": 123,
      "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": 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": 123,
      "video_render_delay": 123,
      "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": 987,
        "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": 123, "offset": 987}
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": 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_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": 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_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": 123}
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": 987, "offset": 123}
Response
{
  "data": {
    "search_projects": [
      {
        "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": 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": 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": 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": 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": true,
        "license": "Example....1..2..3...",
        "link_to_license": "Example....1..2..3...",
        "locked": false,
        "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": 987,
        "video_fps": 987,
        "video_render_delay": 123,
        "website": "Example....1..2..3..."
      }
    ]
  }
}

search_tags

Description

execute function "search_tags" which returns "tags"

Response

Returns [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 search_tags(
  $limit: Int,
  $offset: Int
) {
  search_tags(
    limit: $limit,
    offset: $offset
  ) {
    description
    display_name
    entity_tags {
      ...entity_tagsFragment
    }
    grouping_name
    name
    status
    tagline
    type
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "search_tags": [
      {
        "description": "Example....1..2..3...",
        "display_name": "Example....1..2..3...",
        "entity_tags": [entity_tags],
        "grouping_name": "heritage",
        "name": "Example....1..2..3...",
        "status": "private",
        "tagline": "Example....1..2..3...",
        "type": "project"
      }
    ]
  }
}

search_tokens

Description

execute function "search_tokens" 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 search_tokens(
  $limit: Int,
  $offset: Int
) {
  search_tokens(
    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": 987, "offset": 987}
Response
{
  "data": {
    "search_tokens": [
      {
        "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": true,
        "favorites": [favorites],
        "features": jsonb,
        "gif": media,
        "gif_id": 123,
        "hash": "Example....1..2..3...",
        "high_res_image": media,
        "high_res_image_id": 987,
        "id": "Example....1..2..3...",
        "image": media,
        "image_id": 123,
        "invocation": 987,
        "is_flagged": false,
        "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": 987,
        "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
      }
    ]
  }
}

search_users

Description

execute function "search_users" which returns "user_profiles"

Response

Returns [user_profiles!]!

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_users(
  $limit: Int,
  $offset: Int
) {
  search_users(
    limit: $limit,
    offset: $offset
  ) {
    bio
    id
    name
    profile_picture {
      ...mediaFragment
    }
    profile_picture_id
    twitter_username
    user_address
    username
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "search_users": [
      {
        "bio": "Example....1..2..3...",
        "id": 987,
        "name": "Example....1..2..3...",
        "profile_picture": media,
        "profile_picture_id": 123,
        "twitter_username": "Example....1..2..3...",
        "user_address": "Example....1..2..3...",
        "username": "Example....1..2..3..."
      }
    ]
  }
}

split_atomic_contracts

Description

An array relationship

Response

Returns [split_atomic_contracts!]!

Arguments
Name Description
distinct_on - [split_atomic_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 split_atomic_contracts(
  $distinct_on: [split_atomic_contracts_select_column!],
  $limit: Int,
  $offset: Int
) {
  split_atomic_contracts(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    address
    implementation
    split_atomic_factory
    splits {
      ...split_payment_configurationsFragment
    }
    type
  }
}
Variables
{"distinct_on": ["address"], "limit": 987, "offset": 123}
Response
{
  "data": {
    "split_atomic_contracts": [
      {
        "address": "Example....1..2..3...",
        "implementation": "Example....1..2..3...",
        "split_atomic_factory": "Example....1..2..3...",
        "splits": [split_payment_configurations],
        "type": "Example....1..2..3..."
      }
    ]
  }
}

split_atomic_contracts_by_pk

Description

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

Response

Returns a split_atomic_contracts

Arguments
Name Description
address - String!

Example

Query
query split_atomic_contracts_by_pk($address: String!) {
  split_atomic_contracts_by_pk(address: $address) {
    address
    implementation
    split_atomic_factory
    splits {
      ...split_payment_configurationsFragment
    }
    type
  }
}
Variables
{"address": "Example....1..2..3..."}
Response
{
  "data": {
    "split_atomic_contracts_by_pk": {
      "address": "Example....1..2..3...",
      "implementation": "Example....1..2..3...",
      "split_atomic_factory": "Example....1..2..3...",
      "splits": [split_payment_configurations],
      "type": "Example....1..2..3..."
    }
  }
}

split_atomic_factories

Description

fetch data from the table: "split_atomic_factories"

Response

Returns [split_atomic_factories!]!

Arguments
Name Description
distinct_on - [split_atomic_factories_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 split_atomic_factories(
  $distinct_on: [split_atomic_factories_select_column!],
  $limit: Int,
  $offset: Int
) {
  split_atomic_factories(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    abandoned
    address
    implementation
    required_split_address
    required_split_basis_points
    split_atomic_contracts {
      ...split_atomic_contractsFragment
    }
    type
  }
}
Variables
{"distinct_on": ["abandoned"], "limit": 987, "offset": 987}
Response
{
  "data": {
    "split_atomic_factories": [
      {
        "abandoned": true,
        "address": "Example....1..2..3...",
        "implementation": "Example....1..2..3...",
        "required_split_address": "Example....1..2..3...",
        "required_split_basis_points": numeric,
        "split_atomic_contracts": [
          split_atomic_contracts
        ],
        "type": "Example....1..2..3..."
      }
    ]
  }
}

split_atomic_factories_by_pk

Description

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

Response

Returns a split_atomic_factories

Arguments
Name Description
address - String!

Example

Query
query split_atomic_factories_by_pk($address: String!) {
  split_atomic_factories_by_pk(address: $address) {
    abandoned
    address
    implementation
    required_split_address
    required_split_basis_points
    split_atomic_contracts {
      ...split_atomic_contractsFragment
    }
    type
  }
}
Variables
{"address": "Example....1..2..3..."}
Response
{
  "data": {
    "split_atomic_factories_by_pk": {
      "abandoned": true,
      "address": "Example....1..2..3...",
      "implementation": "Example....1..2..3...",
      "required_split_address": "Example....1..2..3...",
      "required_split_basis_points": numeric,
      "split_atomic_contracts": [split_atomic_contracts],
      "type": "Example....1..2..3..."
    }
  }
}

split_payment_configurations

Description

fetch data from the table: "split_payment_configurations"

Arguments
Name Description
distinct_on - [split_payment_configurations_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 split_payment_configurations(
  $distinct_on: [split_payment_configurations_select_column!],
  $limit: Int,
  $offset: Int
) {
  split_payment_configurations(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset
  ) {
    basis_points
    id
    index
    recipient
    split_atomic_contract
  }
}
Variables
{"distinct_on": ["basis_points"], "limit": 987, "offset": 987}
Response
{
  "data": {
    "split_payment_configurations": [
      {
        "basis_points": 987,
        "id": "Example....1..2..3...",
        "index": 987,
        "recipient": "Example....1..2..3...",
        "split_atomic_contract": "Example....1..2..3..."
      }
    ]
  }
}

split_payment_configurations_by_pk

Description

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

Response

Returns a split_payment_configurations

Arguments
Name Description
id - String!

Example

Query
query split_payment_configurations_by_pk($id: String!) {
  split_payment_configurations_by_pk(id: $id) {
    basis_points
    id
    index
    recipient
    split_atomic_contract
  }
}
Variables
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "split_payment_configurations_by_pk": {
      "basis_points": 987,
      "id": "Example....1..2..3...",
      "index": 123,
      "recipient": "Example....1..2..3...",
      "split_atomic_contract": "Example....1..2..3..."
    }
  }
}

tags

Description

fetch data from the table: "tags"

Response

Returns [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 tags(
  $limit: Int,
  $offset: Int
) {
  tags(
    limit: $limit,
    offset: $offset
  ) {
    description
    display_name
    entity_tags {
      ...entity_tagsFragment
    }
    grouping_name
    name
    status
    tagline
    type
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "tags": [
      {
        "description": "Example....1..2..3...",
        "display_name": "Example....1..2..3...",
        "entity_tags": [entity_tags],
        "grouping_name": "heritage",
        "name": "Example....1..2..3...",
        "status": "private",
        "tagline": "Example....1..2..3...",
        "type": "project"
      }
    ]
  }
}

tags_by_pk

Description

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

Response

Returns a tags

Arguments
Name Description
name - String!

Example

Query
query tags_by_pk($name: String!) {
  tags_by_pk(name: $name) {
    description
    display_name
    entity_tags {
      ...entity_tagsFragment
    }
    grouping_name
    name
    status
    tagline
    type
  }
}
Variables
{"name": "Example....1..2..3..."}
Response
{
  "data": {
    "tags_by_pk": {
      "description": "Example....1..2..3...",
      "display_name": "Example....1..2..3...",
      "entity_tags": [entity_tags],
      "grouping_name": "heritage",
      "name": "Example....1..2..3...",
      "status": "private",
      "tagline": "Example....1..2..3...",
      "type": "project"
    }
  }
}

tokens_metadata

Description

fetch data from the table: "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 tokens_metadata(
  $limit: Int,
  $offset: Int
) {
  tokens_metadata(
    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": 123}
Response
{
  "data": {
    "tokens_metadata": [
      {
        "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": 987,
        "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": 123,
        "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": 987,
        "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": 123
      }
    ]
  }
}

tokens_metadata_by_pk

Description

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

Response

Returns a tokens_metadata

Arguments
Name Description
id - String!

Example

Query
query tokens_metadata_by_pk($id: String!) {
  tokens_metadata_by_pk(id: $id) {
    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
{"id": "Example....1..2..3..."}
Response
{
  "data": {
    "tokens_metadata_by_pk": {
      "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": 987,
      "hash": "Example....1..2..3...",
      "high_res_image": media,
      "high_res_image_id": 987,
      "id": "Example....1..2..3...",
      "image": media,
      "image_id": 123,
      "invocation": 987,
      "is_flagged": false,
      "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": 987,
      "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": 123
    }
  }
}

user_profiles

Description

fetch data from the table: "user_profiles"

Response

Returns [user_profiles!]!

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 user_profiles(
  $limit: Int,
  $offset: Int
) {
  user_profiles(
    limit: $limit,
    offset: $offset
  ) {
    bio
    id
    name
    profile_picture {
      ...mediaFragment
    }
    profile_picture_id
    twitter_username
    user_address
    username
  }
}
Variables
{"limit": 987, "offset": 987}
Response
{
  "data": {
    "user_profiles": [
      {
        "bio": "Example....1..2..3...",
        "id": 987,
        "name": "Example....1..2..3...",
        "profile_picture": media,
        "profile_picture_id": 123,
        "twitter_username": "Example....1..2..3...",
        "user_address": "Example....1..2..3...",
        "username": "Example....1..2..3..."
      }
    ]
  }
}

user_profiles_by_pk

Description

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

Response

Returns a user_profiles

Arguments
Name Description
id - Int!

Example

Query
query user_profiles_by_pk($id: Int!) {
  user_profiles_by_pk(id: $id) {
    bio
    id
    name
    profile_picture {
      ...mediaFragment
    }
    profile_picture_id
    twitter_username
    user_address
    username
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "user_profiles_by_pk": {
      "bio": "Example....1..2..3...",
      "id": 123,
      "name": "Example....1..2..3...",
      "profile_picture": media,
      "profile_picture_id": 987,
      "twitter_username": "Example....1..2..3...",
      "user_address": "Example....1..2..3...",
      "username": "Example....1..2..3..."
    }
  }
}

users

Description

fetch data from the table: "users"

Response

Returns [users!]!

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 users(
  $limit: Int,
  $offset: Int
) {
  users(
    limit: $limit,
    offset: $offset
  ) {
    allowlisted_on {
      ...contract_allowlistingsFragment
    }
    bids {
      ...bids_metadataFragment
    }
    bids_aggregate {
      ...bids_metadata_aggregateFragment
    }
    created_at
    display_name
    favorited_by_user
    favorites {
      ...favoritesFragment
    }
    feature_flags
    is_ab_staff
    is_curated
    is_curator
    nonce
    profile {
      ...user_profilesFragment
    }
    projects_created {
      ...projects_metadataFragment
    }
    public_address
    receipts {
      ...receipt_metadataFragment
    }
    tags {
      ...entity_tagsFragment
    }
    tokens {
      ...tokens_metadataFragment
    }
    tos_accepted_at
    viewed_warning_banner
    webflow_artist_info {
      ...webflow_artist_infoFragment
    }
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "users": [
      {
        "allowlisted_on": [contract_allowlistings],
        "bids": [bids_metadata],
        "bids_aggregate": bids_metadata_aggregate,
        "created_at": timestamptz,
        "display_name": "Example....1..2..3...",
        "favorited_by_user": false,
        "favorites": [favorites],
        "feature_flags": jsonb,
        "is_ab_staff": true,
        "is_curated": true,
        "is_curator": true,
        "nonce": "Example....1..2..3...",
        "profile": user_profiles,
        "projects_created": [
          {
            "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...",
        "receipts": [
          {
            "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
            "netPosted": "557638888888888889",
            "numPurchased": "1"
          }
        ],
        "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"
          }
        ],
        "tos_accepted_at": timestamptz,
        "viewed_warning_banner": false,
        "webflow_artist_info": webflow_artist_info
      }
    ]
  }
}

users_by_pk

Description

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

Response

Returns a users

Arguments
Name Description
public_address - String!

Example

Query
query users_by_pk($public_address: String!) {
  users_by_pk(public_address: $public_address) {
    allowlisted_on {
      ...contract_allowlistingsFragment
    }
    bids {
      ...bids_metadataFragment
    }
    bids_aggregate {
      ...bids_metadata_aggregateFragment
    }
    created_at
    display_name
    favorited_by_user
    favorites {
      ...favoritesFragment
    }
    feature_flags
    is_ab_staff
    is_curated
    is_curator
    nonce
    profile {
      ...user_profilesFragment
    }
    projects_created {
      ...projects_metadataFragment
    }
    public_address
    receipts {
      ...receipt_metadataFragment
    }
    tags {
      ...entity_tagsFragment
    }
    tokens {
      ...tokens_metadataFragment
    }
    tos_accepted_at
    viewed_warning_banner
    webflow_artist_info {
      ...webflow_artist_infoFragment
    }
  }
}
Variables
{"public_address": "Example....1..2..3..."}
Response
{
  "data": {
    "users_by_pk": {
      "allowlisted_on": [contract_allowlistings],
      "bids": [bids_metadata],
      "bids_aggregate": bids_metadata_aggregate,
      "created_at": timestamptz,
      "display_name": "Example....1..2..3...",
      "favorited_by_user": false,
      "favorites": [favorites],
      "feature_flags": jsonb,
      "is_ab_staff": true,
      "is_curated": true,
      "is_curator": false,
      "nonce": "Example....1..2..3...",
      "profile": user_profiles,
      "projects_created": [
        {
          "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...",
      "receipts": [
        {
          "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
          "netPosted": "557638888888888889",
          "numPurchased": "1"
        }
      ],
      "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"
        }
      ],
      "tos_accepted_at": timestamptz,
      "viewed_warning_banner": true,
      "webflow_artist_info": webflow_artist_info
    }
  }
}

verticals

Description

fetch data from the table: "verticals"

Response

Returns [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 verticals(
  $limit: Int,
  $offset: Int
) {
  verticals(
    limit: $limit,
    offset: $offset
  ) {
    name
    project_vertical {
      ...project_verticalsFragment
    }
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{
  "data": {
    "verticals": [
      {
        "name": "Example....1..2..3...",
        "project_vertical": project_verticals
      }
    ]
  }
}

verticals_by_pk

Description

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

Response

Returns a verticals

Arguments
Name Description
name - String!

Example

Query
query verticals_by_pk($name: String!) {
  verticals_by_pk(name: $name) {
    name
    project_vertical {
      ...project_verticalsFragment
    }
  }
}
Variables
{"name": "Example....1..2..3..."}
Response
{
  "data": {
    "verticals_by_pk": {
      "name": "Example....1..2..3...",
      "project_vertical": project_verticals
    }
  }
}

video_aspect_ratios

Description

fetch data from the table: "video_aspect_ratios"

Response

Returns [video_aspect_ratios!]!

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 video_aspect_ratios(
  $limit: Int,
  $offset: Int
) {
  video_aspect_ratios(
    limit: $limit,
    offset: $offset
  ) {
    label
    value
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "video_aspect_ratios": [
      {
        "label": "Example....1..2..3...",
        "value": numeric
      }
    ]
  }
}

video_aspect_ratios_by_pk

Description

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

Response

Returns a video_aspect_ratios

Arguments
Name Description
value - numeric!

Example

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

video_frame_rates

Description

fetch data from the table: "video_frame_rates"

Response

Returns [video_frame_rates!]!

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 video_frame_rates(
  $limit: Int,
  $offset: Int
) {
  video_frame_rates(
    limit: $limit,
    offset: $offset
  ) {
    value
  }
}
Variables
{"limit": 987, "offset": 123}
Response
{"data": {"video_frame_rates": [{"value": 987}]}}

video_frame_rates_by_pk

Description

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

Response

Returns a video_frame_rates

Arguments
Name Description
value - Int!

Example

Query
query video_frame_rates_by_pk($value: Int!) {
  video_frame_rates_by_pk(value: $value) {
    value
  }
}
Variables
{"value": 123}
Response
{"data": {"video_frame_rates_by_pk": {"value": 987}}}

webflow_artist_info

Description

fetch data from the table: "webflow_artist_info"

Response

Returns [webflow_artist_info!]!

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 webflow_artist_info(
  $limit: Int,
  $offset: Int
) {
  webflow_artist_info(
    limit: $limit,
    offset: $offset
  ) {
    published
    raw_data
    slug
    user {
      ...usersFragment
    }
    user_public_address
    webflow_collection_id
    webflow_item_id
  }
}
Variables
{"limit": 123, "offset": 987}
Response
{
  "data": {
    "webflow_artist_info": [
      {
        "published": true,
        "raw_data": jsonb,
        "slug": "Example....1..2..3...",
        "user": users,
        "user_public_address": "Example....1..2..3...",
        "webflow_collection_id": "Example....1..2..3...",
        "webflow_item_id": "Example....1..2..3..."
      }
    ]
  }
}

webflow_artist_info_by_pk

Description

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

Response

Returns a webflow_artist_info

Arguments
Name Description
webflow_item_id - String!

Example

Query
query webflow_artist_info_by_pk($webflow_item_id: String!) {
  webflow_artist_info_by_pk(webflow_item_id: $webflow_item_id) {
    published
    raw_data
    slug
    user {
      ...usersFragment
    }
    user_public_address
    webflow_collection_id
    webflow_item_id
  }
}
Variables
{"webflow_item_id": "Example....1..2..3..."}
Response
{
  "data": {
    "webflow_artist_info_by_pk": {
      "published": false,
      "raw_data": jsonb,
      "slug": "Example....1..2..3...",
      "user": users,
      "user_public_address": "Example....1..2..3...",
      "webflow_collection_id": "Example....1..2..3...",
      "webflow_item_id": "Example....1..2..3..."
    }
  }
}

webflow_spectrum_articles

Description

fetch data from the table: "webflow_spectrum_articles"

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 webflow_spectrum_articles(
  $limit: Int,
  $offset: Int
) {
  webflow_spectrum_articles(
    limit: $limit,
    offset: $offset
  ) {
    category
    description
    extra_info
    image
    published_at
    raw_data
    section
    slug
    title
    webflow_collection_id
    webflow_item_id
  }
}
Variables
{"limit": 123, "offset": 123}
Response
{
  "data": {
    "webflow_spectrum_articles": [
      {
        "category": "Example....1..2..3...",
        "description": "Example....1..2..3...",
        "extra_info": "Example....1..2..3...",
        "image": "Example....1..2..3...",
        "published_at": timestamptz,
        "raw_data": jsonb,
        "section": "Example....1..2..3...",
        "slug": "Example....1..2..3...",
        "title": "Example....1..2..3...",
        "webflow_collection_id": "Example....1..2..3...",
        "webflow_item_id": "Example....1..2..3..."
      }
    ]
  }
}

webflow_spectrum_articles_by_pk

Description

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

Response

Returns a webflow_spectrum_articles

Arguments
Name Description
webflow_item_id - String!

Example

Query
query webflow_spectrum_articles_by_pk($webflow_item_id: String!) {
  webflow_spectrum_articles_by_pk(webflow_item_id: $webflow_item_id) {
    category
    description
    extra_info
    image
    published_at
    raw_data
    section
    slug
    title
    webflow_collection_id
    webflow_item_id
  }
}
Variables
{"webflow_item_id": "Example....1..2..3..."}
Response
{
  "data": {
    "webflow_spectrum_articles_by_pk": {
      "category": "Example....1..2..3...",
      "description": "Example....1..2..3...",
      "extra_info": "Example....1..2..3...",
      "image": "Example....1..2..3...",
      "published_at": timestamptz,
      "raw_data": jsonb,
      "section": "Example....1..2..3...",
      "slug": "Example....1..2..3...",
      "title": "Example....1..2..3...",
      "webflow_collection_id": "Example....1..2..3...",
      "webflow_item_id": "Example....1..2..3..."
    }
  }
}

Mutations

authenticate

Response

Returns an AuthenticateOutput

Example

Query
mutation authenticate {
  authenticate {
    expiration
    jwt
  }
}
Response
{
  "data": {
    "authenticate": {
      "expiration": 987,
      "jwt": "Example....1..2..3..."
    }
  }
}

privyAuthenticate

Response

Returns an AuthenticateOutput

Example

Query
mutation privyAuthenticate {
  privyAuthenticate {
    expiration
    jwt
  }
}
Response
{
  "data": {
    "privyAuthenticate": {
      "expiration": 123,
      "jwt": "Example....1..2..3..."
    }
  }
}

Types

Article

Fields
Field Name Description
CollectionsSection - [ComponentProjectMetadataProjectMetadata]
Arguments
sort - [String]
author - String
category - ENUM_ARTICLE_CATEGORY
content - String
coverPhoto - UploadFileEntityResponse
createdAt - DateTime
embedURL - String
extraInfo - String
homePageLocation - ENUM_ARTICLE_HOMEPAGELOCATION
isFeaturedArticle - Boolean
originallyPublished - DateTime
publishedAt - DateTime
seoMetaDescription - String
slug - String!
tagline - String
thumbnail - UploadFileEntityResponse
title - String
updatedAt - DateTime
Example
{
  "CollectionsSection": [
    ComponentProjectMetadataProjectMetadata
  ],
  "author": "Example....1..2..3...",
  "category": "EDUCATION",
  "content": "Example....1..2..3...",
  "coverPhoto": UploadFileEntityResponse,
  "createdAt": "2007-12-03T10:15:30Z",
  "embedURL": "Example....1..2..3...",
  "extraInfo": "Example....1..2..3...",
  "homePageLocation": "bottom",
  "isFeaturedArticle": false,
  "originallyPublished": "2007-12-03T10:15:30Z",
  "publishedAt": "2007-12-03T10:15:30Z",
  "seoMetaDescription": "Example....1..2..3...",
  "slug": "Example....1..2..3...",
  "tagline": "Example....1..2..3...",
  "thumbnail": UploadFileEntityResponse,
  "title": "Example....1..2..3...",
  "updatedAt": "2007-12-03T10:15:30Z"
}

ArticleEntity

Fields
Field Name Description
attributes - Article
id - ID
Example
{
  "attributes": Article,
  "id": "4"
}

ArticleEntityResponse

Fields
Field Name Description
data - ArticleEntity
Example
{"data": ArticleEntity}

ArticleEntityResponseCollection

Fields
Field Name Description
data - [ArticleEntity!]!
meta - ResponseCollectionMeta!
Example
{
  "data": [ArticleEntity],
  "meta": ResponseCollectionMeta
}

ArtistEditorialPage

Fields
Field Name Description
ExhibitionsSection - ComponentArtistEditorialPageExhibitions
FeaturedWorkSection - ComponentArtistEditorialPageFeaturedWork
PressSection - ComponentArtistEditorialPagePress
ReleasesSection - ComponentArtistEditorialPageProjectsCreated
SpectrumArticlesSection - ComponentArtistEditorialPageSpectrumArticles
artistName - String!
avatar - UploadFileEntityResponse
bio - String
createdAt - DateTime
headerImage - UploadFileEntityResponse
instagram - String
publishedAt - DateTime
seoMetaDescription - String
slug - String!
twitter - String
updatedAt - DateTime
userProfileAddress - String
website - String
Example
{
  "ExhibitionsSection": ComponentArtistEditorialPageExhibitions,
  "FeaturedWorkSection": ComponentArtistEditorialPageFeaturedWork,
  "PressSection": ComponentArtistEditorialPagePress,
  "ReleasesSection": ComponentArtistEditorialPageProjectsCreated,
  "SpectrumArticlesSection": ComponentArtistEditorialPageSpectrumArticles,
  "artistName": "Example....1..2..3...",
  "avatar": UploadFileEntityResponse,
  "bio": "Example....1..2..3...",
  "createdAt": "2007-12-03T10:15:30Z",
  "headerImage": UploadFileEntityResponse,
  "instagram": "Example....1..2..3...",
  "publishedAt": "2007-12-03T10:15:30Z",
  "seoMetaDescription": "Example....1..2..3...",
  "slug": "Example....1..2..3...",
  "twitter": "Example....1..2..3...",
  "updatedAt": "2007-12-03T10:15:30Z",
  "userProfileAddress": "Example....1..2..3...",
  "website": "Example....1..2..3..."
}

ArtistEditorialPageEntity

Fields
Field Name Description
attributes - ArtistEditorialPage
id - ID
Example
{
  "attributes": ArtistEditorialPage,
  "id": "4"
}

ArtistEditorialPageEntityResponse

Fields
Field Name Description
data - ArtistEditorialPageEntity
Example
{"data": ArtistEditorialPageEntity}

ArtistEditorialPageEntityResponseCollection

Fields
Field Name Description
data - [ArtistEditorialPageEntity!]!
meta - ResponseCollectionMeta!
Example
{
  "data": [ArtistEditorialPageEntity],
  "meta": ResponseCollectionMeta
}

AuthMessageOutput

Fields
Field Name Description
authMessage - String!
Example
{"authMessage": "Example....1..2..3..."}

AuthenticateOutput

Fields
Field Name Description
expiration - Int!
jwt - String!
Example
{
  "expiration": 987,
  "jwt": "Example....1..2..3..."
}

Boolean

Example
true

ComponentArtistEditorialPageExhibitions

Fields
Field Name Description
exhibitionItem - [ComponentGalleryGridItemGalleryGridItem]
Arguments
sort - [String]
id - ID!
Example
{
  "exhibitionItem": [
    ComponentGalleryGridItemGalleryGridItem
  ],
  "id": "4"
}

ComponentArtistEditorialPageFeaturedWork

Fields
Field Name Description
FeaturedWorkItem - [ComponentImageWithCaptionImageWithCaption]
Arguments
sort - [String]
id - ID!
Example
{
  "FeaturedWorkItem": [
    ComponentImageWithCaptionImageWithCaption
  ],
  "id": "4"
}

ComponentArtistEditorialPagePress

Fields
Field Name Description
PressItem - [ComponentPressItemPressItem]
Arguments
sort - [String]
id - ID!
Example
{
  "PressItem": [ComponentPressItemPressItem],
  "id": "4"
}

ComponentArtistEditorialPageProjectsCreated

Fields
Field Name Description
id - ID!
projectMetadata - [ComponentProjectMetadataProjectMetadata]
Arguments
sort - [String]
Example
{
  "id": "4",
  "projectMetadata": [
    ComponentProjectMetadataProjectMetadata
  ]
}

ComponentArtistEditorialPageSpectrumArticles

Fields
Field Name Description
SpectrumArticle - [ComponentSpectrumArticleSpectrumArticle]
Arguments
sort - [String]
id - ID!
Example
{
  "SpectrumArticle": [
    ComponentSpectrumArticleSpectrumArticle
  ],
  "id": "4"
}

ComponentCuratedHomePageCuratedHomePageItem

Example
{
  "ArticleTextAlign": "Left",
  "Project": ComponentProjectMetadataProjectMetadata,
  "SlideEntries": [
    ComponentCuratedHomePageTokenSlideEntry
  ],
  "SlideType": "Article",
  "article": ArticleEntityResponse,
  "exhibition": ExhibitionEntityResponse,
  "id": 4
}

ComponentCuratedHomePageTokenSlideEntry

Fields
Field Name Description
CursorTextOverride - String
Description - String
EntryType - ENUM_COMPONENTCURATEDHOMEPAGETOKENSLIDEENTRY_ENTRYTYPE!
Link - String
MediaOverride - UploadFileEntityResponse
OOBToken - oob_tokens_metadata
Title - String
Token - tokens_metadata
id - ID!
oobTokenId - String
tokenId - String
Example
{
  "CursorTextOverride": "Example....1..2..3...",
  "Description": "Example....1..2..3...",
  "EntryType": "Media",
  "Link": "Example....1..2..3...",
  "MediaOverride": UploadFileEntityResponse,
  "OOBToken": oob_tokens_metadata,
  "Title": "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"
  },
  "id": "4",
  "oobTokenId": "Example....1..2..3...",
  "tokenId": "Example....1..2..3..."
}

ComponentExhibitionsArtDetail

Fields
Field Name Description
Caption - String
Images - UploadFileRelationResponseCollection
Arguments
sort - [String]
id - ID!
Example
{
  "Caption": "Example....1..2..3...",
  "Images": UploadFileRelationResponseCollection,
  "id": 4
}

ComponentExhibitionsExhibitionAbout

Fields
Field Name Description
ArtRow - UploadFileRelationResponseCollection
Arguments
sort - [String]
ArtRowCaption - String
Blurb - String
LearnMoreLink - String
Title - String
id - ID!
Example
{
  "ArtRow": UploadFileRelationResponseCollection,
  "ArtRowCaption": "Example....1..2..3...",
  "Blurb": "Example....1..2..3...",
  "LearnMoreLink": "Example....1..2..3...",
  "Title": "Example....1..2..3...",
  "id": 4
}

ComponentExhibitionsExhibitionCallout

Fields
Field Name Description
Text - String
id - ID!
Example
{
  "Text": "Example....1..2..3...",
  "id": "4"
}

ComponentExhibitionsExhibitionCollection

Fields
Field Name Description
About - String
AdditionalProjects - [ComponentProjectMetadataProjectMetadata]
Arguments
sort - [String]
Collection - ComponentProjectMetadataProjectMetadata
Name - String!
id - ID!
Example
{
  "About": "Example....1..2..3...",
  "AdditionalProjects": [
    ComponentProjectMetadataProjectMetadata
  ],
  "Collection": ComponentProjectMetadataProjectMetadata,
  "Name": "Example....1..2..3...",
  "id": "4"
}

ComponentGalleryGridItemGalleryGridItem

Fields
Field Name Description
id - ID!
image - UploadFileEntityResponse
subtitle - String
title - String
url - String
Example
{
  "id": "4",
  "image": UploadFileEntityResponse,
  "subtitle": "Example....1..2..3...",
  "title": "Example....1..2..3...",
  "url": "Example....1..2..3..."
}

ComponentImageWithCaptionImageWithCaption

Fields
Field Name Description
caption - String
id - ID!
image - UploadFileEntityResponse
url - String
Example
{
  "caption": "Example....1..2..3...",
  "id": "4",
  "image": UploadFileEntityResponse,
  "url": "Example....1..2..3..."
}

ComponentPressItemPressItem

Fields
Field Name Description
date - Date
id - ID!
publication - String
title - String
url - String
Example
{
  "date": "2007-12-03",
  "id": 4,
  "publication": "Example....1..2..3...",
  "title": "Example....1..2..3...",
  "url": "Example....1..2..3..."
}

ComponentProjectMetadataProjectMetadata

Fields
Field Name Description
Project - projects_metadata
id - ID!
projectId - String
Example
{
  "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
  },
  "id": "4",
  "projectId": "Example....1..2..3..."
}

ComponentReleaseInfoReleaseInfo

Fields
Field Name Description
AuctionEndTime - DateTime
AuctionStartTime - DateTime!
CustomAuctionName - String
CustomDescription - String
EndPrice - String
MinterMaxInvocations - Int
MinterType - MinterInfoEntityResponse!
StartPrice - String
id - ID!
Example
{
  "AuctionEndTime": "2007-12-03T10:15:30Z",
  "AuctionStartTime": "2007-12-03T10:15:30Z",
  "CustomAuctionName": "Example....1..2..3...",
  "CustomDescription": "Example....1..2..3...",
  "EndPrice": "Example....1..2..3...",
  "MinterMaxInvocations": 987,
  "MinterType": MinterInfoEntityResponse,
  "StartPrice": "Example....1..2..3...",
  "id": 4
}

ComponentSpectrumArticleSpectrumArticle

Fields
Field Name Description
id - ID!
previewImage - UploadFileEntityResponse
title - String
url - String
Example
{
  "id": 4,
  "previewImage": UploadFileEntityResponse,
  "title": "Example....1..2..3...",
  "url": "Example....1..2..3..."
}

CuratedHomePage

Fields
Field Name Description
Slides - [ComponentCuratedHomePageCuratedHomePageItem]
Arguments
sort - [String]
createdAt - DateTime
publishedAt - DateTime
updatedAt - DateTime
Example
{
  "Slides": [ComponentCuratedHomePageCuratedHomePageItem],
  "createdAt": "2007-12-03T10:15:30Z",
  "publishedAt": "2007-12-03T10:15:30Z",
  "updatedAt": "2007-12-03T10:15:30Z"
}

CuratedHomePageEntity

Fields
Field Name Description
attributes - CuratedHomePage
id - ID
Example
{
  "attributes": CuratedHomePage,
  "id": "4"
}

CuratedHomePageEntityResponse

Fields
Field Name Description
data - CuratedHomePageEntity
Example
{"data": CuratedHomePageEntity}

Date

Example
"2007-12-03"

DateTime

Example
"2007-12-03T10:15:30Z"

ENUM_ARTICLE_CATEGORY

Values
Enum Value Description

EDUCATION

INTERVIEW

NEWS

PODCAST

VIDEO

Example
"EDUCATION"

ENUM_ARTICLE_HOMEPAGELOCATION

Values
Enum Value Description

bottom

middle

none

top

Example
"bottom"

ENUM_COMPONENTCURATEDHOMEPAGECURATEDHOMEPAGEITEM_ARTICLETEXTALIGN

Values
Enum Value Description

Left

Right

Example
"Left"

ENUM_COMPONENTCURATEDHOMEPAGECURATEDHOMEPAGEITEM_SLIDETYPE

Values
Enum Value Description

Article

Exhibition

Project

Example
"Article"

ENUM_COMPONENTCURATEDHOMEPAGETOKENSLIDEENTRY_ENTRYTYPE

Values
Enum Value Description

Media

OOB_Token

Token

Example
"Media"

ENUM_EXHIBITION_EXHIBITIONSTAGE

Values
Enum Value Description

Complete

Project_1

Project_2

Project_3

Project_4

Project_5

Project_6

Example
"Complete"

ENUM_EXHIBITION_MPKOZSTAGE

Values
Enum Value Description

Complete

Physical_Claim

Project_1

Project_2

Example
"Complete"

ENUM_EXHIBITION_TYPE

Values
Enum Value Description

group

solo

Example
"group"

Exhibition

Fields
Field Name Description
About - ComponentExhibitionsExhibitionAbout
ArtDetailMulti - ComponentExhibitionsArtDetail
ArtDetailSingle - ComponentExhibitionsArtDetail
Callout - ComponentExhibitionsExhibitionCallout
Collections - [ComponentExhibitionsExhibitionCollection]!
Arguments
sort - [String]
ExhibitionStage - ENUM_EXHIBITION_EXHIBITIONSTAGE
HeaderImage - UploadFileEntityResponse
MpkozPhysicalStartTime - DateTime
MpkozStage - ENUM_EXHIBITION_MPKOZSTAGE
Tagline - String
Title - String!
Type - ENUM_EXHIBITION_TYPE!
createdAt - DateTime
publishedAt - DateTime
seoMetaDescription - String
slug - String!
updatedAt - DateTime
Example
{
  "About": ComponentExhibitionsExhibitionAbout,
  "ArtDetailMulti": ComponentExhibitionsArtDetail,
  "ArtDetailSingle": ComponentExhibitionsArtDetail,
  "Callout": ComponentExhibitionsExhibitionCallout,
  "Collections": [
    ComponentExhibitionsExhibitionCollection
  ],
  "ExhibitionStage": "Complete",
  "HeaderImage": UploadFileEntityResponse,
  "MpkozPhysicalStartTime": "2007-12-03T10:15:30Z",
  "MpkozStage": "Complete",
  "Tagline": "Example....1..2..3...",
  "Title": "Example....1..2..3...",
  "Type": "group",
  "createdAt": "2007-12-03T10:15:30Z",
  "publishedAt": "2007-12-03T10:15:30Z",
  "seoMetaDescription": "Example....1..2..3...",
  "slug": "Example....1..2..3...",
  "updatedAt": "2007-12-03T10:15:30Z"
}

ExhibitionEntity

Fields
Field Name Description
attributes - Exhibition
id - ID
Example
{
  "attributes": Exhibition,
  "id": "4"
}

ExhibitionEntityResponse

Fields
Field Name Description
data - ExhibitionEntity
Example
{"data": ExhibitionEntity}

ExhibitionEntityResponseCollection

Fields
Field Name Description
data - [ExhibitionEntity!]!
meta - ResponseCollectionMeta!
Example
{
  "data": [ExhibitionEntity],
  "meta": ResponseCollectionMeta
}

Float

Example
987.65

GenericMorph

ID

Example
4

Int

Example
123

JSON

Example
{}

MinterInfo

Fields
Field Name Description
Description - String!
Name - String!
createdAt - DateTime
publishedAt - DateTime
updatedAt - DateTime
Example
{
  "Description": "Example....1..2..3...",
  "Name": "Example....1..2..3...",
  "createdAt": "2007-12-03T10:15:30Z",
  "publishedAt": "2007-12-03T10:15:30Z",
  "updatedAt": "2007-12-03T10:15:30Z"
}

MinterInfoEntity

Fields
Field Name Description
attributes - MinterInfo
id - ID
Example
{"attributes": MinterInfo, "id": 4}

MinterInfoEntityResponse

Fields
Field Name Description
data - MinterInfoEntity
Example
{"data": MinterInfoEntity}

MinterInfoEntityResponseCollection

Fields
Field Name Description
data - [MinterInfoEntity!]!
meta - ResponseCollectionMeta!
Example
{
  "data": [MinterInfoEntity],
  "meta": ResponseCollectionMeta
}

OpenseaCollectionData

Fields
Field Name Description
projectId - String!
url - String!
Example
{
  "projectId": "Example....1..2..3...",
  "url": "Example....1..2..3..."
}

Pagination

Fields
Field Name Description
page - Int!
pageCount - Int!
pageSize - Int!
total - Int!
Example
{"page": 123, "pageCount": 987, "pageSize": 987, "total": 123}

ProjectPage

Fields
Field Name Description
AuctionInfoRow - [ComponentReleaseInfoReleaseInfo]
Arguments
sort - [String]
Quote - String
createdAt - DateTime
project - ComponentProjectMetadataProjectMetadata!
publishedAt - DateTime
updatedAt - DateTime
Example
{
  "AuctionInfoRow": [ComponentReleaseInfoReleaseInfo],
  "Quote": "Example....1..2..3...",
  "createdAt": "2007-12-03T10:15:30Z",
  "project": ComponentProjectMetadataProjectMetadata,
  "publishedAt": "2007-12-03T10:15:30Z",
  "updatedAt": "2007-12-03T10:15:30Z"
}

ProjectPageEntity

Fields
Field Name Description
attributes - ProjectPage
id - ID
Example
{"attributes": ProjectPage, "id": 4}

ProjectPageEntityResponse

Fields
Field Name Description
data - ProjectPageEntity
Example
{"data": ProjectPageEntity}

ProjectPageEntityResponseCollection

Fields
Field Name Description
data - [ProjectPageEntity!]!
meta - ResponseCollectionMeta!
Example
{
  "data": [ProjectPageEntity],
  "meta": ResponseCollectionMeta
}

PublicationState

Values
Enum Value Description

LIVE

PREVIEW

Example
"LIVE"

ResponseCollectionMeta

Fields
Field Name Description
pagination - Pagination!
Example
{"pagination": Pagination}

String

Example
"Example....1..2..3..."

UploadFile

Fields
Field Name Description
alternativeText - String
caption - String
createdAt - DateTime
ext - String
formats - JSON
hash - String!
height - Int
mime - String!
name - String!
previewUrl - String
provider - String!
provider_metadata - JSON
related - [GenericMorph]
size - Float!
updatedAt - DateTime
url - String!
width - Int
Example
{
  "alternativeText": "Example....1..2..3...",
  "caption": "Example....1..2..3...",
  "createdAt": "2007-12-03T10:15:30Z",
  "ext": "Example....1..2..3...",
  "formats": {},
  "hash": "Example....1..2..3...",
  "height": 123,
  "mime": "Example....1..2..3...",
  "name": "Example....1..2..3...",
  "previewUrl": "Example....1..2..3...",
  "provider": "Example....1..2..3...",
  "provider_metadata": {},
  "related": [Article],
  "size": 123.45,
  "updatedAt": "2007-12-03T10:15:30Z",
  "url": "Example....1..2..3...",
  "width": 123
}

UploadFileEntity

Fields
Field Name Description
attributes - UploadFile
id - ID
Example
{
  "attributes": UploadFile,
  "id": "4"
}

UploadFileEntityResponse

Fields
Field Name Description
data - UploadFileEntity
Example
{"data": UploadFileEntity}

UploadFileRelationResponseCollection

Fields
Field Name Description
data - [UploadFileEntity!]!
Example
{"data": [UploadFileEntity]}

artists

Description

All Art Blocks artists.

Fields
Field Name Description
created_at - timestamptz
is_ab_staff - Boolean
is_curator - Boolean
most_recent_hosted_project - projects_metadata An object relationship
most_recent_hosted_project_id - String
most_recent_project - projects_metadata An object relationship
most_recent_project_id - String
projects - [projects_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

public_address - String
tos_accepted_at - timestamptz
user - users An object relationship
viewed_warning_banner - Boolean
Example
{
  "created_at": timestamptz,
  "is_ab_staff": false,
  "is_curator": true,
  "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

columns and relationships of "bid_types"

Fields
Field Name Description
type - String!
Example
{"type": "Example....1..2..3..."}

bid_types_enum

Values
Enum Value Description

RAM

SEA

Example
"RAM"

bid_types_select_column

Description

select columns of table "bid_types"

Values
Enum Value Description

type

column name
Example
"type"

bids_metadata

Description

columns and relationships of "bids_metadata"

Fields
Field Name Description
bid_type - bid_types_enum!
bid_value - String!
bidder_address - String!
core_contract - contracts_metadata! An object relationship
core_contract_address - String!
id - String!
is_removed - Boolean
log_index - Int!
minter - minters_metadata! An object relationship
minter_address - String!
project - projects_metadata! An object relationship
project_id - String!
ram_id - Int
rank - bigint
ranking - Int A computed field, executes function "bid_ranking"
settled - Boolean
slot_index - bigint
time_of_bid - timestamptz!
token - tokens_metadata An object relationship
token_id - String
tx_hash - String
user - users! An object relationship
winning_bid - Boolean
Example
{
  "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,
  "log_index": 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_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...",
  "ram_id": 987,
  "rank": bigint,
  "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...",
  "tx_hash": "Example....1..2..3...",
  "user": users,
  "winning_bid": false
}

bids_metadata_aggregate

Description

aggregated selection of "bids_metadata"

Fields
Field Name Description
aggregate - bids_metadata_aggregate_fields
nodes - [bids_metadata!]!
Example
{
  "aggregate": bids_metadata_aggregate_fields,
  "nodes": [bids_metadata]
}

bids_metadata_aggregate_fields

Description

aggregate fields of "bids_metadata"

Example
{
  "avg": bids_metadata_avg_fields,
  "count": 123,
  "max": bids_metadata_max_fields,
  "min": bids_metadata_min_fields,
  "stddev": bids_metadata_stddev_fields,
  "stddev_pop": bids_metadata_stddev_pop_fields,
  "stddev_samp": bids_metadata_stddev_samp_fields,
  "sum": bids_metadata_sum_fields,
  "var_pop": bids_metadata_var_pop_fields,
  "var_samp": bids_metadata_var_samp_fields,
  "variance": bids_metadata_variance_fields
}

bids_metadata_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
log_index - Float
ram_id - Float
rank - Float
ranking - Int A computed field, executes function "bid_ranking"
slot_index - Float
Example
{
  "log_index": 123.45,
  "ram_id": 123.45,
  "rank": 123.45,
  "ranking": 987,
  "slot_index": 123.45
}

bids_metadata_max_fields

Description

aggregate max on columns

Fields
Field Name Description
bid_value - String
bidder_address - String
core_contract_address - String
id - String
log_index - Int
minter_address - String
project_id - String
ram_id - Int
rank - bigint
ranking - Int A computed field, executes function "bid_ranking"
slot_index - bigint
time_of_bid - timestamptz
token_id - String
tx_hash - String
Example
{
  "bid_value": "Example....1..2..3...",
  "bidder_address": "Example....1..2..3...",
  "core_contract_address": "Example....1..2..3...",
  "id": "Example....1..2..3...",
  "log_index": 123,
  "minter_address": "Example....1..2..3...",
  "project_id": "Example....1..2..3...",
  "ram_id": 123,
  "rank": bigint,
  "ranking": 987,
  "slot_index": bigint,
  "time_of_bid": timestamptz,
  "token_id": "Example....1..2..3...",
  "tx_hash": "Example....1..2..3..."
}

bids_metadata_min_fields

Description

aggregate min on columns

Fields
Field Name Description
bid_value - String
bidder_address - String
core_contract_address - String
id - String
log_index - Int
minter_address - String
project_id - String
ram_id - Int
rank - bigint
ranking - Int A computed field, executes function "bid_ranking"
slot_index - bigint
time_of_bid - timestamptz
token_id - String
tx_hash - String
Example
{
  "bid_value": "Example....1..2..3...",
  "bidder_address": "Example....1..2..3...",
  "core_contract_address": "Example....1..2..3...",
  "id": "Example....1..2..3...",
  "log_index": 123,
  "minter_address": "Example....1..2..3...",
  "project_id": "Example....1..2..3...",
  "ram_id": 123,
  "rank": bigint,
  "ranking": 987,
  "slot_index": bigint,
  "time_of_bid": timestamptz,
  "token_id": "Example....1..2..3...",
  "tx_hash": "Example....1..2..3..."
}

bids_metadata_select_column

Description

select columns of table "bids_metadata"

Values
Enum Value Description

bid_type

column name

bid_value

column name

bidder_address

column name

core_contract_address

column name

id

column name

is_removed

column name

log_index

column name

minter_address

column name

project_id

column name

ram_id

column name

rank

column name

settled

column name

slot_index

column name

time_of_bid

column name

token_id

column name

tx_hash

column name

winning_bid

column name
Example
"bid_type"

bids_metadata_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
log_index - Float
ram_id - Float
rank - Float
ranking - Int A computed field, executes function "bid_ranking"
slot_index - Float
Example
{
  "log_index": 987.65,
  "ram_id": 987.65,
  "rank": 123.45,
  "ranking": 987,
  "slot_index": 987.65
}

bids_metadata_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
log_index - Float
ram_id - Float
rank - Float
ranking - Int A computed field, executes function "bid_ranking"
slot_index - Float
Example
{
  "log_index": 123.45,
  "ram_id": 123.45,
  "rank": 123.45,
  "ranking": 987,
  "slot_index": 123.45
}

bids_metadata_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
log_index - Float
ram_id - Float
rank - Float
ranking - Int A computed field, executes function "bid_ranking"
slot_index - Float
Example
{
  "log_index": 123.45,
  "ram_id": 987.65,
  "rank": 123.45,
  "ranking": 123,
  "slot_index": 987.65
}

bids_metadata_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
log_index - Int
ram_id - Int
rank - bigint
ranking - Int A computed field, executes function "bid_ranking"
slot_index - bigint
Example
{
  "log_index": 123,
  "ram_id": 987,
  "rank": bigint,
  "ranking": 123,
  "slot_index": bigint
}

bids_metadata_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
log_index - Float
ram_id - Float
rank - Float
ranking - Int A computed field, executes function "bid_ranking"
slot_index - Float
Example
{
  "log_index": 123.45,
  "ram_id": 123.45,
  "rank": 123.45,
  "ranking": 987,
  "slot_index": 123.45
}

bids_metadata_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
log_index - Float
ram_id - Float
rank - Float
ranking - Int A computed field, executes function "bid_ranking"
slot_index - Float
Example
{
  "log_index": 123.45,
  "ram_id": 987.65,
  "rank": 987.65,
  "ranking": 987,
  "slot_index": 987.65
}

bids_metadata_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
log_index - Float
ram_id - Float
rank - Float
ranking - Int A computed field, executes function "bid_ranking"
slot_index - Float
Example
{
  "log_index": 987.65,
  "ram_id": 123.45,
  "rank": 123.45,
  "ranking": 123,
  "slot_index": 987.65
}

bigint

Example
bigint

categories

Description

columns and relationships of "categories"

Fields
Field Name Description
name - String!
project_vertical_category - project_vertical_categories An object relationship
Example
{
  "name": "Example....1..2..3...",
  "project_vertical_category": project_vertical_categories
}

categories_enum

Values
Enum Value Description

collaborations

collections

engine

explorations

unassigned

Example
"collaborations"

contract_allowlistings

Description

Users who have write-access to a given Art Blocks or Engine smart contract.

Fields
Field Name Description
contract - contracts_metadata An object relationship
contract_address - String!
user - users An object relationship
user_address - String!
Example
{
  "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

columns and relationships of "contract_type_names"

Fields
Field Name Description
name - String!
Example
{"name": "Example....1..2..3..."}

contract_type_names_enum

Values
Enum Value Description

GenArt721CoreV0

GenArt721CoreV1

GenArt721CoreV2_ENGINE_FLEX

GenArt721CoreV2_PBAB

GenArt721CoreV3

GenArt721CoreV3_Engine

GenArt721CoreV3_Engine_Flex

Example
"GenArt721CoreV0"

contract_types

Description

columns and relationships of "contract_types"

Fields
Field Name Description
abi - jsonb
Arguments
path - String

JSON select path

project_configuration_schema - jsonb
Arguments
path - String

JSON select path

type - contract_type_names_enum!
Example
{
  "abi": jsonb,
  "project_configuration_schema": jsonb,
  "type": "GenArt721CoreV0"
}

contracts_metadata

Description

This table details the contract deployments & metadata for Art Blocks and all Engine partners. Updates are made when a core contract is deployed.

Fields
Field Name Description
address - String!
admin - String
allowlisted_users - [contract_allowlistings!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

bucket_name - String
contract_type - contract_type_names_enum!
core_version - String
curation_registry_address - String
default_render_provider_secondary_sales_address - String
default_render_provider_secondary_sales_bps - Int
default_vertical - project_verticals An object relationship
dependency_registry_address - String
generator_url - String
minter_address - String
minter_filter - minter_filters_metadata An object relationship
minter_filter_address - String
name - String
new_projects_forbidden - Boolean A computed field, executes function "new_projects_forbidden"
new_projects_forbidden_offchain - Boolean!
new_projects_forbidden_onchain - Boolean!
partner_id - Int
preferred_arweave_gateway - String
preferred_ipfs_gateway - String
projects - [projects_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

render_provider_address - String
render_provider_percentage - Int
royalty_split_provider - String
token_base_url - String
type - contract_types An object relationship
updated_at - timestamp
user_is_allowlisted - Boolean A computed field, executes function "user_is_allowlisted"
Example
{
  "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
}

curation_statuses_enum

Values
Enum Value Description

collaboration

curated

factory

playground

Example
"collaboration"

dependencies_metadata

Description

columns and relationships of "dependencies_metadata"

Fields
Field Name Description
additional_cdns - [dependency_additional_cdns!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

additional_repositories - [dependency_additional_repositories!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

dependency_registry - dependency_registries! An object relationship
dependency_registry_address - String!
license_type - String!
name_and_version - String!
preferred_cdn - String
preferred_repository - String
script - String
scripts - [dependency_scripts!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

updated_at - timestamptz!
updated_onchain_at - timestamptz!
website - String
Example
{
  "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_additional_cdns

Description

columns and relationships of "dependency_additional_cdns"

Fields
Field Name Description
cdn - String!
dependency_name_and_version - String!
index - Int!
Example
{
  "cdn": "Example....1..2..3...",
  "dependency_name_and_version": "Example....1..2..3...",
  "index": 123
}

dependency_additional_repositories

Description

columns and relationships of "dependency_additional_repositories"

Fields
Field Name Description
dependency_name_and_version - String!
index - Int!
repository - String!
Example
{
  "dependency_name_and_version": "Example....1..2..3...",
  "index": 123,
  "repository": "Example....1..2..3..."
}

dependency_registries

Description

columns and relationships of "dependency_registries"

Fields
Field Name Description
address - String!
dependencies - [dependencies_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

owner - String!
supported_core_contracts - [contracts_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

updated_at - timestamptz!
updated_onchain_at - timestamptz!
Example
{
  "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

columns and relationships of "dependency_scripts"

Fields
Field Name Description
address - String!
dependency_name_and_version - String!
index - Int!
script - String!
Example
{
  "address": "Example....1..2..3...",
  "dependency_name_and_version": "Example....1..2..3...",
  "index": 123,
  "script": "Example....1..2..3..."
}

entity_tags

Description

This table stores rows of metadata tags associated with all projects.

Fields
Field Name Description
id - Int!
project - projects_metadata An object relationship
project_id - String
tag - tags An object relationship
tag_name - String!
user - users An object relationship
user_address - String
Example
{
  "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..."
}

favorites

Description

This table lists a users’ favorites (tokens, projects, other users)

Fields
Field Name Description
favorited_project_id - String
favorited_token_id - String
favorited_user - users An object relationship
favorited_user_address - String
id - Int!
project_metadata - projects_metadata An object relationship
token_metadata - tokens_metadata An object relationship
user - users! An object relationship
user_public_address - String!
Example
{
  "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..."
}

feature_flags

Description

columns and relationships of "feature_flags"

Fields
Field Name Description
flag_name - String!
globally_enabled - Boolean!
Example
{
  "flag_name": "Example....1..2..3...",
  "globally_enabled": true
}

float8

Example
float8

jsonb

Example
jsonb

media

Description

This table details the rendered image files, and all other media assets, for Art Blocks and all Engine partners.

Fields
Field Name Description
bucket_name - String!
extension - String A computed field, executes function "media_extension"
file_path - String!
id - Int!
metadata - jsonb
Arguments
path - String

JSON select path

owner_id - String
url - String A computed field, executes function "media_url"
Example
{
  "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..."
}

minter_filter_type_names

Description

Enumeration of minter filter types

Fields
Field Name Description
name - String!
Example
{"name": "Example....1..2..3..."}

minter_filter_type_names_enum

Values
Enum Value Description

MinterFilterV0

MinterFilterV1

MinterFilterV2

UNKNOWN

Example
"MinterFilterV0"

minter_filter_type_names_select_column

Description

select columns of table "minter_filter_type_names"

Values
Enum Value Description

name

column name
Example
"name"

minter_filters_metadata

Description

Newly-deployed minters (ie. Set Price minter, Dutch Auction with Settlement minter, etc) must be approved by the Art Blocks minter-filter contract before they may be included for purchasing on an artist’s project. This table tracks a minter-filter’s approved contracts.

Fields
Field Name Description
address - String!
core_registry_address - String
globally_allowed_minters - [minters_metadata!] A computed field, executes function "select_minterfilter_allowed_minters"
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

known_minters - [minters_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

type - minter_filter_type_names_enum
Example
{
  "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_type_names_enum

Values
Enum Value Description

MinterDAExpHolderV5

MinterDAExpSettlementV0

MinterDAExpSettlementV1

MinterDAExpSettlementV2

MinterDAExpSettlementV3

MinterDAExpV0

MinterDAExpV1

MinterDAExpV2

MinterDAExpV4

MinterDAExpV5

MinterDALinHolderV5

MinterDALinV0

MinterDALinV1

MinterDALinV2

MinterDALinV4

MinterDALinV5

MinterHolderV0

MinterHolderV1

MinterHolderV2

MinterHolderV4

MinterMerkleV0

MinterMerkleV1

MinterMerkleV2

MinterMerkleV3

MinterMerkleV5

MinterMinPriceMerkleV0

MinterMinPriceV0

MinterPolyptychV0

MinterRAMV0

MinterSEAV0

MinterSEAV1

MinterSetPriceERC20V0

MinterSetPriceERC20V1

MinterSetPriceERC20V2

MinterSetPriceERC20V4

MinterSetPriceERC20V5

MinterSetPriceHolderV5

MinterSetPriceMerkleV5

MinterSetPricePolyptychERC20V5

MinterSetPricePolyptychV5

MinterSetPriceV0

MinterSetPriceV1

MinterSetPriceV2

MinterSetPriceV4

MinterSetPriceV5

Example
"MinterDAExpHolderV5"

minter_types

Description

Minters are versioned within this table, and the metadata (ie. labels & descriptions) describing the functionality/features of a particular minter version are listed here. Data is updated after the AB team deploys a new generic minter type to the blockchain and public subgraph.

Fields
Field Name Description
active - Boolean!
description_template - String!
label - String
project_configuration_schema - jsonb!
Arguments
path - String

JSON select path

type - minter_type_names_enum!
unversioned_type - String A computed field, executes function "minter_type_unversioned"
version_number - Int A computed field, executes function "minter_type_version_number"
Example
{
  "active": false,
  "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

This table details the auction and metadata pertaining to Art Blocks “minters” - or, the varieties of purchasing mechanics available for projects. Data is updated after the AB team deploys a new generic minter type to the blockchain and public subgraph.

Fields
Field Name Description
address - String!
extra_minter_details - jsonb
Arguments
path - String

JSON select path

is_globally_allowlisted_on_minter_filter - Boolean!
minter_filter - minter_filters_metadata An object relationship
minter_filter_address - String!
minter_type - minter_type_names_enum!
receipts - [receipt_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

type - minter_types An object relationship
Example
{
  "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": "{...}"
}

numeric

Example
numeric

oob_tokens_metadata

Description

Table for out-of-bounds tokens created for previewing upcoming projects

Fields
Field Name Description
contract - contracts_metadata! An object relationship
contract_address - String!
gif - media An object relationship
gif_id - Int
hash - String!
id - String!
image - media An object relationship
image_id - Int
live_view_path - String A computed field, executes function "oob_live_view_path"
live_view_url - String A computed field, executes function "oob_live_view_url"
media_url - String a computed field that returns the media proxy url for this OOB token's statically rendered image
preview_asset_url - String A computed field, executes function "oob_preview_asset_url"
primary_asset_url - String A computed field, executes function "oob_primary_asset_url"
project - projects_metadata! An object relationship
project_id - String!
token_id - Int!
video - media An object relationship
video_id - Int
Example
{
  "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": 123
}

oob_tokens_metadata_aggregate

Description

aggregated selection of "oob_tokens_metadata"

Fields
Field Name Description
aggregate - oob_tokens_metadata_aggregate_fields
nodes - [oob_tokens_metadata!]!
Example
{
  "aggregate": oob_tokens_metadata_aggregate_fields,
  "nodes": [oob_tokens_metadata]
}

oob_tokens_metadata_aggregate_fields

Example
{
  "avg": oob_tokens_metadata_avg_fields,
  "count": 123,
  "max": oob_tokens_metadata_max_fields,
  "min": oob_tokens_metadata_min_fields,
  "stddev": oob_tokens_metadata_stddev_fields,
  "stddev_pop": oob_tokens_metadata_stddev_pop_fields,
  "stddev_samp": oob_tokens_metadata_stddev_samp_fields,
  "sum": oob_tokens_metadata_sum_fields,
  "var_pop": oob_tokens_metadata_var_pop_fields,
  "var_samp": oob_tokens_metadata_var_samp_fields,
  "variance": oob_tokens_metadata_variance_fields
}

oob_tokens_metadata_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
gif_id - Float
image_id - Float
token_id - Float
video_id - Float
Example
{"gif_id": 123.45, "image_id": 987.65, "token_id": 987.65, "video_id": 123.45}

oob_tokens_metadata_max_fields

Description

aggregate max on columns

Fields
Field Name Description
contract_address - String
gif_id - Int
hash - String
id - String
image_id - Int
live_view_path - String A computed field, executes function "oob_live_view_path"
live_view_url - String A computed field, executes function "oob_live_view_url"
media_url - String a computed field that returns the media proxy url for this OOB token's statically rendered image
preview_asset_url - String A computed field, executes function "oob_preview_asset_url"
primary_asset_url - String A computed field, executes function "oob_primary_asset_url"
project_id - String
token_id - Int
video_id - Int
Example
{
  "contract_address": "Example....1..2..3...",
  "gif_id": 123,
  "hash": "Example....1..2..3...",
  "id": "Example....1..2..3...",
  "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_id": "Example....1..2..3...",
  "token_id": 987,
  "video_id": 987
}

oob_tokens_metadata_min_fields

Description

aggregate min on columns

Fields
Field Name Description
contract_address - String
gif_id - Int
hash - String
id - String
image_id - Int
live_view_path - String A computed field, executes function "oob_live_view_path"
live_view_url - String A computed field, executes function "oob_live_view_url"
media_url - String a computed field that returns the media proxy url for this OOB token's statically rendered image
preview_asset_url - String A computed field, executes function "oob_preview_asset_url"
primary_asset_url - String A computed field, executes function "oob_primary_asset_url"
project_id - String
token_id - Int
video_id - Int
Example
{
  "contract_address": "Example....1..2..3...",
  "gif_id": 123,
  "hash": "Example....1..2..3...",
  "id": "Example....1..2..3...",
  "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_id": "Example....1..2..3...",
  "token_id": 987,
  "video_id": 123
}

oob_tokens_metadata_select_column

Description

select columns of table "oob_tokens_metadata"

Values
Enum Value Description

contract_address

column name

gif_id

column name

hash

column name

id

column name

image_id

column name

project_id

column name

token_id

column name

video_id

column name
Example
"contract_address"

oob_tokens_metadata_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
gif_id - Float
image_id - Float
token_id - Float
video_id - Float
Example
{"gif_id": 987.65, "image_id": 123.45, "token_id": 987.65, "video_id": 123.45}

oob_tokens_metadata_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
gif_id - Float
image_id - Float
token_id - Float
video_id - Float
Example
{"gif_id": 123.45, "image_id": 987.65, "token_id": 987.65, "video_id": 123.45}

oob_tokens_metadata_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
gif_id - Float
image_id - Float
token_id - Float
video_id - Float
Example
{"gif_id": 123.45, "image_id": 123.45, "token_id": 987.65, "video_id": 123.45}

oob_tokens_metadata_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
gif_id - Int
image_id - Int
token_id - Int
video_id - Int
Example
{"gif_id": 123, "image_id": 987, "token_id": 123, "video_id": 123}

oob_tokens_metadata_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
gif_id - Float
image_id - Float
token_id - Float
video_id - Float
Example
{"gif_id": 987.65, "image_id": 123.45, "token_id": 123.45, "video_id": 123.45}

oob_tokens_metadata_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
gif_id - Float
image_id - Float
token_id - Float
video_id - Float
Example
{"gif_id": 123.45, "image_id": 123.45, "token_id": 987.65, "video_id": 123.45}

oob_tokens_metadata_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
gif_id - Float
image_id - Float
token_id - Float
video_id - Float
Example
{"gif_id": 123.45, "image_id": 987.65, "token_id": 987.65, "video_id": 987.65}

primary_purchases

Description

Stores details about a token's primary purchase

Fields
Field Name Description
currency_address - String
currency_symbol - String
minter_address - String
token - tokens_metadata! An object relationship
token_id - String!
transaction_hash - String!
Example
{
  "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_select_column

Description

select columns of table "primary_purchases"

Values
Enum Value Description

currency_address

column name

currency_symbol

column name

minter_address

column name

token_id

column name

transaction_hash

column name
Example
"currency_address"

processing_jobs

Description

This table tracks pending & completed "processing jobs" which are a batch of 40 tokens or less. Any given refresh request consists of one or many processing jobs.

Fields
Field Name Description
asset_type - refresh_asset_types_enum
completed_at - timestamptz
id - uuid!
name - String!
refresh_request_id - uuid!
status - processing_jobs_status_types_enum!
submitted_at - timestamptz
Example
{
  "asset_type": "Image",
  "completed_at": timestamptz,
  "id": uuid,
  "name": "Example....1..2..3...",
  "refresh_request_id": uuid,
  "status": "FAILED",
  "submitted_at": timestamptz
}

processing_jobs_select_column

Description

select columns of table "processing_jobs"

Values
Enum Value Description

asset_type

column name

completed_at

column name

id

column name

name

column name

refresh_request_id

column name

status

column name

submitted_at

column name
Example
"asset_type"

processing_jobs_status_types_enum

Values
Enum Value Description

FAILED

PENDING

SUCCESS

Example
"FAILED"

project_external_asset_dependencies

Description

This table stores metadata for accessing an external dependency for any given Engine Flex project.

Fields
Field Name Description
bytecode_address - String
cid - String!
data - String
dependency_metadata - dependencies_metadata An object relationship
dependency_type - project_external_asset_dependency_types_enum!
index - Int!
project - projects_metadata! An object relationship
project_id - String!
Example
{
  "bytecode_address": "Example....1..2..3...",
  "cid": "Example....1..2..3...",
  "data": "Example....1..2..3...",
  "dependency_metadata": {
    "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_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_dependency_types_enum

Values
Enum Value Description

ART_BLOCKS_DEPENDENCY_REGISTRY

ARWEAVE

IPFS

ONCHAIN

Example
"ART_BLOCKS_DEPENDENCY_REGISTRY"

project_minter_configurations

Description

This table holds metadata related to a minter that’s been configured by an artist for their project. Rows are added when an artist selects & assigns a minter type to their project that they’ve not previously used for the project in question.

Fields
Field Name Description
auction_end_time - timestamptz A computed field, executes function "project_minter_config_auction_end_time"
auction_start_time - timestamptz A computed field, executes function "project_minter_config_auction_start_time"
base_price - String
complete - Boolean A computed field, executes function "project_minter_configuration_complete"
currency_address - String!
currency_symbol - String!
extra_minter_details - jsonb
Arguments
path - String

JSON select path

id - String!
max_invocations - Int
minter - minters_metadata An object relationship
minter_id - String!
offchain_extra_minter_details - jsonb
Arguments
path - String

JSON select path

price_is_configured - Boolean!
project - projects_metadata An object relationship
project_id - String!
properties_updated_at - jsonb!
Arguments
path - String

JSON select path

purchase_to_disabled - Boolean!
Example
{
  "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_scripts

Description

This table holds the artist script files used for all projects (all scripts are primarily stored on-chain, and this table exists here for convenience purposes). Note that multiple scripts are combined when multiple indexes exist for a given projectID. This table is updated when an artist uploads, edits, or deletes a script in their project shell.

Fields
Field Name Description
index - Int!
project - projects_metadata An object relationship
project_id - String!
script - String!
Example
{
  "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

columns and relationships of "project_series"

Fields
Field Name Description
id - Int!
projects - [projects_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

Example
{
  "id": 987,
  "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

columns and relationships of "project_vertical_categories"

Fields
Field Name Description
category - categories! An object relationship
hosted - Boolean!
name - categories_enum!
verticals - [project_verticals!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

Example
{
  "category": categories,
  "hosted": false,
  "name": "collaborations",
  "verticals": [project_verticals]
}

project_verticals

Description

columns and relationships of "project_verticals"

Fields
Field Name Description
active - Boolean!
category - project_vertical_categories! An object relationship
category_name - String!
description - String
display_name - String!
name - verticals_enum!
projects - [projects_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

vertical - verticals! An object relationship
Example
{
  "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
}

projects_features

Description

Artists may choose to name arbitrary traits & patterns (“features”) within the outputs of their project. These features are listed here and calculated via the features_script. This table is updated when an artist uploads, edits, or deletes a feature in their project shell.

Fields
Field Name Description
enable_artist_update_after_completion - Boolean!
feature_fields - jsonb
Arguments
path - String

JSON select path

feature_fields_counts - jsonb A computed field, executes function "projects_features_feature_fields_counts"
Arguments
path - String

JSON select path

id - Int!
project - projects_metadata! An object relationship
project_id - String!
Example
{
  "enable_artist_update_after_completion": false,
  "feature_fields": jsonb,
  "feature_fields_counts": jsonb,
  "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..."
}

projects_metadata

Description

This table holds entries for every project and information on all project-related settings.

Fields
Field Name Description
activated_at - timestamptz
active - Boolean!
additional_payee - String
additional_payee_percentage - Int
additional_payee_secondary_sales_address - String
additional_payee_secondary_sales_percentage - Int
additional_payee_splitter - split_atomic_contracts An object relationship
article - ArticleEntityResponseCollection
Arguments
publicationState - PublicationState
sort - [String]
artist - users! An object relationship
artistPage - ArtistEditorialPageEntityResponseCollection
Arguments
publicationState - PublicationState
sort - [String]
artist_address - String!
artist_display_notes - String
artist_featured_token_id - String
artist_interview - String
artist_name - String
aspect_ratio - numeric!
auction_end_time - timestamptz A computed field, executes function "project_auction_end_time"
auction_start_time - timestamptz A computed field, executes function "project_auction_start_time"
base_uri - String
bids - [bids_metadata!]! An array relationship
Arguments
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

bids_aggregate - bids_metadata_aggregate! An aggregate relationship
Arguments
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

canvas_mode - Boolean
charitable_giving_details - String
complete - Boolean!
completed_at - timestamptz
contract - contracts_metadata! An object relationship
contract_address - String!
creative_credit - String
curation_status - curation_statuses_enum!
curation_status_display - String A computed field, executes function "curation_status_display"
curation_status_override - curation_statuses_enum
currency_address - String
currency_decimals - Int
currency_symbol - String
dependency - dependencies_metadata An object relationship
dependency_name_and_version - String Returns 'script_type_and_version_override' for the project if available; otherwise, falls back to 'script_type_and_version'
description - String
disable_auto_image_format - Boolean
disable_sample_generator - Boolean!
display_static - Boolean!
engine_platform_provider_secondary_sales_address - String
engine_platform_provider_secondary_sales_bps - Int
erc2981_splitter_address - String
erc2981_splitter_contract - royalty_splitter_contracts An object relationship
exhibition - ExhibitionEntityResponseCollection
Arguments
publicationState - PublicationState
sort - [String]
external_asset_dependencies - [project_external_asset_dependencies!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

external_asset_dependencies_locked - Boolean
external_asset_dependency_count - bigint A computed field, executes function "project_external_asset_dependency_count"
favorited_by_user - Boolean A computed field, executes function "project_favorited_by_user"
favorites - [favorites!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

featured_token - [tokens_metadata!] A computed field, executes function "project_featured_token"
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

features - projects_features An object relationship
first_token_minted_at - timestamptz A computed field, executes function "first_token_minted_at"
generate_video_assets - Boolean!
heritage_curation_status - String A computed field, executes function "project_heritage_status"
id - String!
index - Int
invocations - bigint A computed field, executes function "project_invocations"
ipfs_hash - String
is_artblocks - Boolean A computed field, executes function "project_is_flagship"
license - String
link_to_license - String
locked - Boolean A computed field, executes function "calc_locked"
lowest_listing - float8 A computed field, executes function "project_lowest_listing"
max_invocations - Int!
minter_configuration - project_minter_configurations An object relationship
minter_configuration_id - String
name - String
oob_tokens - [oob_tokens_metadata!]! An array relationship
Arguments
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

oob_tokens_aggregate - oob_tokens_metadata_aggregate! An aggregate relationship
Arguments
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

paused - Boolean!
preview_render_type - render_types_enum!
price_per_token_in_wei - String
primary_render_type - render_types_enum!
project_id - String!
properties_updated_at - jsonb!
Arguments
path - String

JSON select path

proposed_artist_addresses_and_split - proposed_artist_addresses_and_splits An object relationship
proposed_artists_and_splits_id - String
random_oob_token - [oob_tokens_metadata!] A computed field, executes function "project_random_oob_token"
Arguments
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

random_token - [tokens_metadata!] A computed field, executes function "project_random_token"
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

read_only_addresses - jsonb
Arguments
path - String

JSON select path

receipts - [receipt_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

refresh_requests - [refresh_requests!]! An array relationship
Arguments
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

render_complete - Boolean A computed field, executes function "project_render_complete"
render_delay - Int
render_provider_secondary_sales_address - String
render_provider_secondary_sales_bps - Int
render_with_gpu - Boolean
royalty_percentage - Int
sales_notes - String
script - String
script_count - bigint A computed field, executes function "project_script_count"
script_json - jsonb
Arguments
path - String

JSON select path

script_type_and_version - String Indicates the script type and version (e.g., p5@1.0.0) assigned to the project on its core contract
script_type_and_version_override - String Specifies the script type and version override for the project, as set on the Art Blocks dependency registry contract
scripts - [project_scripts!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

second_token_minted_at - timestamptz A computed field, executes function "second_token_minted_at"
series - project_series An object relationship
series_id - Int
start_datetime - timestamptz
tags - [entity_tags!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

tokens - [tokens_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

updated_at - timestamp
user_is_artist - Boolean A computed field, executes function "user_is_artist"
vertical - project_verticals! An object relationship
vertical_name - String!
video_aspect_ratio - numeric
video_duration - Int
video_fps - Int
video_render_delay - Int
website - String
Example
{
  "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
}

proposed_artist_addresses_and_splits

Description

Currently proposed artist and address splits

Fields
Field Name Description
additional_payee_primary_sales - String!
additional_payee_primary_sales_percentage - Int!
additional_payee_secondary_sales - String!
additional_payee_secondary_sales_percentage - Int!
additional_payee_splitter - split_atomic_contracts An object relationship
artist_address - String!
project - projects_metadata! An object relationship
project_id - String!
Example
{
  "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..."
}

receipt_metadata

Description

indexed data from subgraph Receipt entity, used by settlment minters

Fields
Field Name Description
excess_settlement_funds - String Computed field defining approximate excess settlement funds available to be reclaimed on a given receipt, given latest purchase price on minter. May have minor rounding errors after 15 decimals.
id - String!
minter - minters_metadata! An object relationship
minter_id - String!
net_posted - String!
num_purchased - String!
project - projects_metadata! An object relationship
project_id - String!
project_minter_configuration - project_minter_configurations An object relationship
user - users! An object relationship
user_address - String!
Example
{
  "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
  "netPosted": "557638888888888889",
  "numPurchased": "1"
}

refresh_asset_types_enum

Values
Enum Value Description

Image

None

Video

Example
"Image"

refresh_request_types_enum

Values
Enum Value Description

Project

Token

Example
"Project"

refresh_requests

Description

This table tracks pending & completed requests to refresh the media assets for a project or token. Artists and staff may re-render the .png, .mp4 and .gif files for a collection of NFTs and this table maintains those requests.

Fields
Field Name Description
completed_at - timestamptz
id - uuid!
processing_jobs - [processing_jobs!]! An array relationship
Arguments
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

project_id - String!
queue_weight - bigint A computed field, executes function "refresh_requests_queue_weight"
request_type - refresh_request_types_enum!
submitted_at - timestamptz!
token_ids - jsonb
Arguments
path - String

JSON select path

Example
{
  "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_select_column

Description

select columns of table "refresh_requests"

Values
Enum Value Description

completed_at

column name

id

column name

project_id

column name

request_type

column name

submitted_at

column name

token_ids

column name
Example
"completed_at"

render_types

Description

columns and relationships of "render_types"

Fields
Field Name Description
label - String!
value - String!
Example
{
  "label": "Example....1..2..3...",
  "value": "Example....1..2..3..."
}

render_types_enum

Values
Enum Value Description

gif

gif

image

png

live

generator live view

video

mp4
Example
"gif"

royalty_split_recipients

Description

Entries that represent individual splitter recipients from royalty_splitter_contract entries.

Fields
Field Name Description
allocation - Int!
id - String!
recipient_address - String!
royalty_splitter_contract - royalty_splitter_contracts! An object relationship
royalty_splitter_contract_address - String!
Example
{
  "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_split_recipients_select_column

Description

select columns of table "royalty_split_recipients"

Values
Enum Value Description

allocation

column name

id

column name

recipient_address

column name

royalty_splitter_contract_address

column name
Example
"allocation"

royalty_splitter_contracts

Description

table containing secondary royalty splitter contracts used by core contracts

Fields
Field Name Description
address - String!
core_contract - contracts_metadata! An object relationship
core_contract_address - String!
royalty_split_recipients - [royalty_split_recipients!]! An array relationship
Arguments
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

split_provider_creator - String!
total_allocation - Int!
Example
{
  "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
}

royalty_splitter_contracts_select_column

Description

select columns of table "royalty_splitter_contracts"

Values
Enum Value Description

address

column name

core_contract_address

column name

split_provider_creator

column name

total_allocation

column name
Example
"address"

split_atomic_contracts

Description

Table for all indexed split atomic contracts

Fields
Field Name Description
address - String!
implementation - String!
split_atomic_factory - String!
splits - [split_payment_configurations!]! An array relationship
Arguments
distinct_on - [split_payment_configurations_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

type - String!
Example
{
  "address": "Example....1..2..3...",
  "implementation": "Example....1..2..3...",
  "split_atomic_factory": "Example....1..2..3...",
  "splits": [split_payment_configurations],
  "type": "Example....1..2..3..."
}

split_atomic_contracts_select_column

Description

select columns of table "split_atomic_contracts"

Values
Enum Value Description

address

column name

implementation

column name

split_atomic_factory

column name

type

column name
Example
"address"

split_atomic_factories

Description

Contains all indexed split atomic factory contracts

Fields
Field Name Description
abandoned - Boolean!
address - String!
implementation - String!
required_split_address - String
required_split_basis_points - numeric
split_atomic_contracts - [split_atomic_contracts!]! An array relationship
Arguments
distinct_on - [split_atomic_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

type - String!
Example
{
  "abandoned": false,
  "address": "Example....1..2..3...",
  "implementation": "Example....1..2..3...",
  "required_split_address": "Example....1..2..3...",
  "required_split_basis_points": numeric,
  "split_atomic_contracts": [split_atomic_contracts],
  "type": "Example....1..2..3..."
}

split_atomic_factories_select_column

Description

select columns of table "split_atomic_factories"

Values
Enum Value Description

abandoned

column name

address

column name

implementation

column name

required_split_address

column name

required_split_basis_points

column name

type

column name
Example
"abandoned"

split_payment_configurations

Description

Table of all individual splits used by indexed split atomic contracts

Fields
Field Name Description
basis_points - Int!
id - String!
index - Int!
recipient - String!
split_atomic_contract - String!
Example
{
  "basis_points": 987,
  "id": "Example....1..2..3...",
  "index": 123,
  "recipient": "Example....1..2..3...",
  "split_atomic_contract": "Example....1..2..3..."
}

split_payment_configurations_select_column

Description

select columns of table "split_payment_configurations"

Values
Enum Value Description

basis_points

column name

id

column name

index

column name

recipient

column name

split_atomic_contract

column name
Example
"basis_points"

tag_groupings_enum

Values
Enum Value Description

heritage

presentation

social

unassigned

Example
"heritage"

tag_status_enum

Values
Enum Value Description

private

private status

public

public status
Example
"private"

tag_types_enum

Values
Enum Value Description

project

tag type of project

user

tag type of user
Example
"project"

tags

Description

Each variety of metadata tag used for projects.

Fields
Field Name Description
description - String
display_name - String!
entity_tags - [entity_tags!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

grouping_name - tag_groupings_enum!
name - String!
status - tag_status_enum!
tagline - String
type - tag_types_enum!
Example
{
  "description": "Example....1..2..3...",
  "display_name": "Example....1..2..3...",
  "entity_tags": [entity_tags],
  "grouping_name": "heritage",
  "name": "Example....1..2..3...",
  "status": "private",
  "tagline": "Example....1..2..3...",
  "type": "project"
}

timestamp

Example
"2022-09-16T19:33:12+00:00"

timestamptz

Example
timestamptz

tokens_metadata

Description

All token details are added here after a new Art Blocks token is minted. Data will be updated upon a listing, sale, or transfer of the token.

Fields
Field Name Description
bids - [bids_metadata!]! An array relationship
Arguments
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

bids_aggregate - bids_metadata_aggregate! An aggregate relationship
Arguments
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

contract - contracts_metadata An object relationship
contract_address - String!
favorited_by_user - Boolean A computed field, executes function "token_favorited_by_user"
favorites - [favorites!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

features - jsonb!
Arguments
path - String

JSON select path

gif - media An object relationship
gif_id - Int
hash - String!
high_res_image - media An object relationship
high_res_image_id - Int
id - String!
image - media An object relationship
image_id - Int
invocation - Int!
is_flagged - Boolean!
last_refreshed - timestamptz
list_creation_date - timestamptz
list_currency_address - String
list_currency_symbol - String
list_eth_price - float8
list_expiration_date - timestamptz
list_platform - String
list_price - float8
list_url - String
live_view_path - String A computed field, executes function "live_view_path"
live_view_url - String A computed field, executes function "live_view_url"
low_res_image - media An object relationship
low_res_image_id - Int
media_url - String a computed field that returns the media proxy url for this token's statically rendered image
mint_transaction_hash - String
minted_at - timestamptz!
owner - users An object relationship
owner_address - String!
preview_asset_url - String returns the preview asset url based on preview_render_type and availability
primary_asset_url - String A computed field, executes function "primary_asset_url"
primary_purchase_details - primary_purchases An object relationship
primary_purchase_id - String
project - projects_metadata! An object relationship
project_id - String!
project_name - String
token_id - String!
updated_at - timestamp
video - media An object relationship
video_id - Int
Example
{
  "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_profiles

Description

Art Blocks public profiles

Fields
Field Name Description
bio - String
id - Int!
name - String
profile_picture - media An object relationship
profile_picture_id - Int
twitter_username - String
user_address - String!
username - String
Example
{
  "bio": "Example....1..2..3...",
  "id": 123,
  "name": "Example....1..2..3...",
  "profile_picture": media,
  "profile_picture_id": 123,
  "twitter_username": "Example....1..2..3...",
  "user_address": "Example....1..2..3...",
  "username": "Example....1..2..3..."
}

users

Description

Art Blocks users

Fields
Field Name Description
allowlisted_on - [contract_allowlistings!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

bids - [bids_metadata!]! An array relationship
Arguments
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

bids_aggregate - bids_metadata_aggregate! An aggregate relationship
Arguments
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

created_at - timestamptz!
display_name - String A computed field, executes function "user_display_name"
favorited_by_user - Boolean
favorites - [favorites!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

feature_flags - jsonb A computed field, executes function "user_feature_flags"
Arguments
path - String

JSON select path

is_ab_staff - Boolean
is_curated - Boolean A computed field, executes function "user_is_curated"
is_curator - Boolean
nonce - String A computed field, executes function "generate_nonce"
profile - user_profiles An object relationship
projects_created - [projects_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

public_address - String!
receipts - [receipt_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

tags - [entity_tags!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

tokens - [tokens_metadata!]! An array relationship
Arguments
limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

tos_accepted_at - timestamptz
viewed_warning_banner - Boolean
webflow_artist_info - webflow_artist_info An object relationship
Example
{
  "allowlisted_on": [contract_allowlistings],
  "bids": [bids_metadata],
  "bids_aggregate": bids_metadata_aggregate,
  "created_at": timestamptz,
  "display_name": "Example....1..2..3...",
  "favorited_by_user": true,
  "favorites": [favorites],
  "feature_flags": jsonb,
  "is_ab_staff": true,
  "is_curated": false,
  "is_curator": true,
  "nonce": "Example....1..2..3...",
  "profile": user_profiles,
  "projects_created": [
    {
      "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...",
  "receipts": [
    {
      "id": "0xfde58c821d1c226b4a45c22904de20b114ede7e7-404-0x013285927a5c912a11dffb3254abec1055655614",
      "netPosted": "557638888888888889",
      "numPurchased": "1"
    }
  ],
  "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"
    }
  ],
  "tos_accepted_at": timestamptz,
  "viewed_warning_banner": true,
  "webflow_artist_info": webflow_artist_info
}

uuid

Example
uuid

verticals

Description

vertical enums

Fields
Field Name Description
name - String!
project_vertical - project_verticals An object relationship
Example
{
  "name": "Example....1..2..3...",
  "project_vertical": project_verticals
}

verticals_enum

Values
Enum Value Description

artblocksxbrightmoments

artblocksxpace

curated

explorations

factory

flex

fullyonchain

playground

presents

studio

unassigned

Example
"artblocksxbrightmoments"

video_aspect_ratios

Description

Table describing the valid aspect ratios available to projects when generating video preview assets.

Fields
Field Name Description
label - String!
value - numeric!
Example
{
  "label": "Example....1..2..3...",
  "value": numeric
}

video_frame_rates

Description

Table describing the valid frame rates available to projects when generating dynamic media assets.

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

webflow_artist_info

Description

columns and relationships of "webflow_artist_info"

Fields
Field Name Description
published - Boolean!
raw_data - jsonb!
Arguments
path - String

JSON select path

slug - String!
user - users! An object relationship
user_public_address - String!
webflow_collection_id - String!
webflow_item_id - String!
Example
{
  "published": true,
  "raw_data": jsonb,
  "slug": "Example....1..2..3...",
  "user": users,
  "user_public_address": "Example....1..2..3...",
  "webflow_collection_id": "Example....1..2..3...",
  "webflow_item_id": "Example....1..2..3..."
}

webflow_spectrum_articles

Description

columns and relationships of "webflow_spectrum_articles"

Fields
Field Name Description
category - String!
description - String!
extra_info - String
image - String!
published_at - timestamptz
raw_data - jsonb!
Arguments
path - String

JSON select path

section - String
slug - String!
title - String!
webflow_collection_id - String!
webflow_item_id - String!
Example
{
  "category": "Example....1..2..3...",
  "description": "Example....1..2..3...",
  "extra_info": "Example....1..2..3...",
  "image": "Example....1..2..3...",
  "published_at": timestamptz,
  "raw_data": jsonb,
  "section": "Example....1..2..3...",
  "slug": "Example....1..2..3...",
  "title": "Example....1..2..3...",
  "webflow_collection_id": "Example....1..2..3...",
  "webflow_item_id": "Example....1..2..3..."
}