diff --git a/.eslintrc b/.eslintrc index f5086b0d1ba..7398fd8f225 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,5 +1,6 @@ { "extends": ["eslint-config-constellation"], + "ignorePatterns": ["packages/blockchain-wallet-v4-frontend/src/generated/*"], "parserOptions": { "project": "./tsconfig.json", "ecmaVersion": 12, diff --git a/packages/blockchain-wallet-v4-frontend/src/generated/graphql.types.ts b/packages/blockchain-wallet-v4-frontend/src/generated/graphql.types.ts index 850b3e5e7d9..3eeff7bef0e 100644 --- a/packages/blockchain-wallet-v4-frontend/src/generated/graphql.types.ts +++ b/packages/blockchain-wallet-v4-frontend/src/generated/graphql.types.ts @@ -1,74 +1,72 @@ -import { IntrospectionQuery } from 'graphql' -import gql from 'graphql-tag' -import * as Urql from 'urql' - -export type Maybe = T | null -export type InputMaybe = Maybe -export type Exact = { [K in keyof T]: T[K] } -export type MakeOptional = Omit & { [SubKey in K]?: Maybe } -export type MakeMaybe = Omit & { [SubKey in K]: Maybe } -export type Omit = Pick> +import gql from 'graphql-tag'; +import * as Urql from 'urql'; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type Omit = Pick>; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - Boolean: boolean - Float: number - ID: string - Int: number - String: string -} + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; +}; export type Account = { - __typename?: 'Account' - address: Scalars['ID'] - config: Scalars['String'] - date_ingested: Scalars['String'] - profile_img_url: Scalars['String'] - username?: Maybe -} + __typename?: 'Account'; + address: Scalars['ID']; + config: Scalars['String']; + date_ingested: Scalars['String']; + profile_img_url: Scalars['String']; + username?: Maybe; +}; export type Asset = { - __typename?: 'Asset' - animation_original_url?: Maybe - animation_url?: Maybe - background_color?: Maybe - collection: Collection - contract?: Maybe - count?: Maybe - creator?: Maybe - date_ingested: Scalars['String'] - decimals?: Maybe - description?: Maybe - external_link?: Maybe - id: Scalars['ID'] - image_original_url?: Maybe - image_preview_url?: Maybe - image_thumbnail_url?: Maybe - image_url?: Maybe - is_nsfw: Scalars['Boolean'] - is_presale: Scalars['Boolean'] - last_sale?: Maybe - listings?: Maybe>> - name?: Maybe - num_sales: Scalars['Int'] - offers?: Maybe>> - owners?: Maybe>> - permalink: Scalars['String'] - results?: Maybe - supports_wyvern: Scalars['Boolean'] - token_id: Scalars['String'] - token_metadata?: Maybe - traits?: Maybe>> - transfer_fee?: Maybe - transfer_fee_address: Scalars['String'] - transfer_fee_symbol: Scalars['String'] -} + __typename?: 'Asset'; + animation_original_url?: Maybe; + animation_url?: Maybe; + background_color?: Maybe; + collection: Collection; + contract?: Maybe; + count?: Maybe; + creator?: Maybe; + date_ingested: Scalars['String']; + decimals?: Maybe; + description?: Maybe; + external_link?: Maybe; + id: Scalars['ID']; + image_original_url?: Maybe; + image_preview_url?: Maybe; + image_thumbnail_url?: Maybe; + image_url?: Maybe; + is_nsfw: Scalars['Boolean']; + is_presale: Scalars['Boolean']; + last_sale?: Maybe; + listings?: Maybe>>; + name?: Maybe; + num_sales: Scalars['Int']; + offers?: Maybe>>; + owners?: Maybe>>; + permalink: Scalars['String']; + results?: Maybe; + supports_wyvern: Scalars['Boolean']; + token_id: Scalars['String']; + token_metadata?: Maybe; + traits?: Maybe>>; + transfer_fee?: Maybe; + transfer_fee_address: Scalars['String']; + transfer_fee_symbol: Scalars['String']; +}; export type AssetFilter = { - chain_operator?: InputMaybe - field: AssetFilterFields - operator?: InputMaybe - value?: InputMaybe -} + chain_operator?: InputMaybe; + field: AssetFilterFields; + operator?: InputMaybe; + value?: InputMaybe; +}; export enum AssetFilterFields { Animation = 'animation_', @@ -103,9 +101,9 @@ export enum AssetFilterFields { } export type AssetSort = { - by?: InputMaybe - direction?: InputMaybe -} + by?: InputMaybe; + direction?: InputMaybe; +}; export enum AssetSortFields { AnimationOriginalUrl = 'animation_original_url', @@ -146,53 +144,53 @@ export enum ChainOperators { } export type Collection = { - __typename?: 'Collection' - banner_image_url?: Maybe - buyer_fee_basis_points: Scalars['String'] - chat_url?: Maybe - created_date: Scalars['String'] - date_ingested: Scalars['String'] - default_to_fiat: Scalars['Boolean'] - description?: Maybe - dev_buyer_fee_basis_points: Scalars['String'] - dev_seller_fee_basis_points: Scalars['String'] - discord_url?: Maybe - external_url?: Maybe - featured: Scalars['Boolean'] - featured_image_url?: Maybe - hidden: Scalars['Boolean'] - image_url?: Maybe - instagram_username?: Maybe - is_subject_to_whitelist: Scalars['Boolean'] - large_image_url?: Maybe - medium_username?: Maybe - name: Scalars['String'] - num_owners?: Maybe - only_proxied_transfers: Scalars['Boolean'] - opensea_buyer_fee_basis_points: Scalars['String'] - opensea_seller_fee_basis_points: Scalars['String'] - payment_tokens?: Maybe>> - payout_address?: Maybe - primary_asset_contracts?: Maybe>> - require_email: Scalars['Boolean'] - safelist_request_status: Scalars['String'] - seller_fee_basis_points: Scalars['String'] - short_description?: Maybe - slug: Scalars['ID'] - stats?: Maybe - telegram_url?: Maybe - total_supply?: Maybe - traits?: Maybe>> - twitter_username?: Maybe - wiki_url?: Maybe -} + __typename?: 'Collection'; + banner_image_url?: Maybe; + buyer_fee_basis_points: Scalars['String']; + chat_url?: Maybe; + created_date: Scalars['String']; + date_ingested: Scalars['String']; + default_to_fiat: Scalars['Boolean']; + description?: Maybe; + dev_buyer_fee_basis_points: Scalars['String']; + dev_seller_fee_basis_points: Scalars['String']; + discord_url?: Maybe; + external_url?: Maybe; + featured: Scalars['Boolean']; + featured_image_url?: Maybe; + hidden: Scalars['Boolean']; + image_url?: Maybe; + instagram_username?: Maybe; + is_subject_to_whitelist: Scalars['Boolean']; + large_image_url?: Maybe; + medium_username?: Maybe; + name: Scalars['String']; + num_owners?: Maybe; + only_proxied_transfers: Scalars['Boolean']; + opensea_buyer_fee_basis_points: Scalars['String']; + opensea_seller_fee_basis_points: Scalars['String']; + payment_tokens?: Maybe>>; + payout_address?: Maybe; + primary_asset_contracts?: Maybe>>; + require_email: Scalars['Boolean']; + safelist_request_status: Scalars['String']; + seller_fee_basis_points: Scalars['String']; + short_description?: Maybe; + slug: Scalars['ID']; + stats?: Maybe; + telegram_url?: Maybe; + total_supply?: Maybe; + traits?: Maybe>>; + twitter_username?: Maybe; + wiki_url?: Maybe; +}; export type CollectionFilter = { - chain_operator?: InputMaybe - field: CollectionFilterFields - operator?: InputMaybe - value?: InputMaybe -} + chain_operator?: InputMaybe; + field: CollectionFilterFields; + operator?: InputMaybe; + value?: InputMaybe; +}; export enum CollectionFilterFields { BannerImageUrl = 'banner_image_url', @@ -235,9 +233,9 @@ export enum CollectionFilterFields { } export type CollectionSort = { - by?: InputMaybe - direction?: InputMaybe -} + by?: InputMaybe; + direction?: InputMaybe; +}; export enum CollectionSortFields { BannerImageUrl = 'banner_image_url', @@ -281,61 +279,61 @@ export enum CollectionSortFields { } export type CollectionTrait = { - __typename?: 'CollectionTrait' - count?: Maybe - trait_type?: Maybe - value?: Maybe -} + __typename?: 'CollectionTrait'; + count?: Maybe; + trait_type?: Maybe; + value?: Maybe; +}; export type Contract = { - __typename?: 'Contract' - address: Scalars['ID'] - asset_contract_type: Scalars['String'] - created_date: Scalars['String'] - date_ingested: Scalars['String'] - nft_version?: Maybe - opensea_version?: Maybe - owner?: Maybe - schema_name?: Maybe - symbol: Scalars['String'] - total_supply?: Maybe -} + __typename?: 'Contract'; + address: Scalars['ID']; + asset_contract_type: Scalars['String']; + created_date: Scalars['String']; + date_ingested: Scalars['String']; + nft_version?: Maybe; + opensea_version?: Maybe; + owner?: Maybe; + schema_name?: Maybe; + symbol: Scalars['String']; + total_supply?: Maybe; +}; export type Event = { - __typename?: 'Event' - asset?: Maybe - auction_type?: Maybe - bid_amount?: Maybe - collection?: Maybe - contract_address?: Maybe - created_date: Scalars['String'] - custom_event_name?: Maybe - date_ingested: Scalars['String'] - duration?: Maybe - end_date?: Maybe - ending_price?: Maybe - event_type?: Maybe - from?: Maybe - id: Scalars['ID'] - is_private: Scalars['Boolean'] - listing_time?: Maybe - owner?: Maybe - payment_token?: Maybe - quantity: Scalars['Int'] - seller?: Maybe - starting_price?: Maybe - to?: Maybe - total_price?: Maybe - tx?: Maybe - winner?: Maybe -} + __typename?: 'Event'; + asset?: Maybe; + auction_type?: Maybe; + bid_amount?: Maybe; + collection?: Maybe; + contract_address?: Maybe; + created_date: Scalars['String']; + custom_event_name?: Maybe; + date_ingested: Scalars['String']; + duration?: Maybe; + end_date?: Maybe; + ending_price?: Maybe; + event_type?: Maybe; + from?: Maybe; + id: Scalars['ID']; + is_private: Scalars['Boolean']; + listing_time?: Maybe; + owner?: Maybe; + payment_token?: Maybe; + quantity: Scalars['Int']; + seller?: Maybe; + starting_price?: Maybe; + to?: Maybe; + total_price?: Maybe; + tx?: Maybe; + winner?: Maybe; +}; export type EventFilter = { - chain_operator?: InputMaybe - field: EventFilterFields - operator?: InputMaybe - value?: InputMaybe -} + chain_operator?: InputMaybe; + field: EventFilterFields; + operator?: InputMaybe; + value?: InputMaybe; +}; export enum EventFilterFields { AssetBundleSlug = 'asset_bundle_slug', @@ -370,9 +368,9 @@ export enum EventFilterFields { } export type EventSort = { - by?: InputMaybe - direction?: InputMaybe -} + by?: InputMaybe; + direction?: InputMaybe; +}; export enum EventSortFields { AssetBundleSlug = 'asset_bundle_slug', @@ -416,64 +414,67 @@ export enum FilterOperators { } export type Listing = { - __typename?: 'Listing' - auction_type?: Maybe - created_date: Scalars['String'] - duration?: Maybe - end_date?: Maybe - ending_price?: Maybe - from_account_address?: Maybe - is_private: Scalars['Boolean'] - listing_time?: Maybe - payment_token_symbol?: Maybe - quantity: Scalars['Int'] - seller_account_address?: Maybe - starting_price?: Maybe -} + __typename?: 'Listing'; + auction_type?: Maybe; + created_date: Scalars['String']; + duration?: Maybe; + end_date?: Maybe; + ending_price?: Maybe; + from_account_address?: Maybe; + is_private: Scalars['Boolean']; + listing_time?: Maybe; + payment_token_symbol?: Maybe; + quantity: Scalars['Int']; + seller_account_address?: Maybe; + starting_price?: Maybe; +}; export type PaymentToken = { - __typename?: 'PaymentToken' - address: Scalars['ID'] - date_ingested: Scalars['String'] - date_updated?: Maybe - decimals: Scalars['Int'] - eth_price?: Maybe - image_url: Scalars['String'] - name?: Maybe - symbol: Scalars['String'] - usd_price?: Maybe -} + __typename?: 'PaymentToken'; + address: Scalars['ID']; + date_ingested: Scalars['String']; + date_updated?: Maybe; + decimals: Scalars['Int']; + eth_price?: Maybe; + image_url: Scalars['String']; + name?: Maybe; + symbol: Scalars['String']; + usd_price?: Maybe; +}; export type Query = { - __typename?: 'Query' - assets: Array - collections: Array - events: Array -} + __typename?: 'Query'; + assets: Array; + collections: Array; + events: Array; +}; + export type QueryAssetsArgs = { - endingSoon?: InputMaybe - filter?: InputMaybe>> - forSale?: InputMaybe - limit?: InputMaybe - offset?: InputMaybe - sort?: InputMaybe - traitFilter?: InputMaybe>> -} + endingSoon?: InputMaybe; + filter?: InputMaybe>>; + forSale?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; + sort?: InputMaybe; + traitFilter?: InputMaybe>>; +}; + export type QueryCollectionsArgs = { - filter?: InputMaybe>> - limit?: InputMaybe - offset?: InputMaybe - sort?: InputMaybe -} + filter?: InputMaybe>>; + limit?: InputMaybe; + offset?: InputMaybe; + sort?: InputMaybe; +}; + export type QueryEventsArgs = { - filter?: InputMaybe>> - limit?: InputMaybe - offset?: InputMaybe - sort?: InputMaybe -} + filter?: InputMaybe>>; + limit?: InputMaybe; + offset?: InputMaybe; + sort?: InputMaybe; +}; export enum SortDirection { Asc = 'ASC', @@ -481,52 +482,52 @@ export enum SortDirection { } export type Stats = { - __typename?: 'Stats' - average_price?: Maybe - floor_price?: Maybe - one_day_average_price?: Maybe - one_day_sales?: Maybe - one_day_volume?: Maybe - seven_day_average_price?: Maybe - seven_day_sales?: Maybe - seven_day_volume?: Maybe - thirty_day_average_price?: Maybe - thirty_day_sales?: Maybe - thirty_day_volume?: Maybe - total_sales?: Maybe - total_volume?: Maybe -} + __typename?: 'Stats'; + average_price?: Maybe; + floor_price?: Maybe; + one_day_average_price?: Maybe; + one_day_sales?: Maybe; + one_day_volume?: Maybe; + seven_day_average_price?: Maybe; + seven_day_sales?: Maybe; + seven_day_volume?: Maybe; + thirty_day_average_price?: Maybe; + thirty_day_sales?: Maybe; + thirty_day_volume?: Maybe; + total_sales?: Maybe; + total_volume?: Maybe; +}; export type Trait = { - __typename?: 'Trait' - collection_slug?: Maybe - date_ingested?: Maybe - display_type?: Maybe - max_value?: Maybe - order?: Maybe - token_id?: Maybe - trait_count?: Maybe - trait_type?: Maybe - value?: Maybe -} + __typename?: 'Trait'; + collection_slug?: Maybe; + date_ingested?: Maybe; + display_type?: Maybe; + max_value?: Maybe; + order?: Maybe; + token_id?: Maybe; + trait_count?: Maybe; + trait_type?: Maybe; + value?: Maybe; +}; export type TraitFilter = { - trait_type?: InputMaybe - value?: InputMaybe -} + trait_type?: InputMaybe; + value?: InputMaybe; +}; export type Transaction = { - __typename?: 'Transaction' - block_hash?: Maybe - block_number: Scalars['Int'] - date_ingested: Scalars['String'] - from_account: Account - id: Scalars['ID'] - timestamp?: Maybe - to_account: Account - transaction_hash: Scalars['String'] - transaction_index: Scalars['Int'] -} + __typename?: 'Transaction'; + block_hash?: Maybe; + block_number: Scalars['Int']; + date_ingested: Scalars['String']; + from_account: Account; + id: Scalars['ID']; + timestamp?: Maybe; + to_account: Account; + transaction_hash: Scalars['String']; + transaction_index: Scalars['Int']; +}; export enum TransactionFilterFields { BlockHash = 'block_hash', @@ -553,2186 +554,2055 @@ export enum TransactionSortFields { } export type AssetQueryVariables = Exact<{ - filter?: InputMaybe> | InputMaybe> - limit?: InputMaybe -}> + filter?: InputMaybe> | InputMaybe>; + limit?: InputMaybe; +}>; -export type AssetQuery = { - __typename?: 'Query' - assets: Array<{ - __typename?: 'Asset' - animation_original_url?: string | null - animation_url?: string | null - collection: { - __typename?: 'Collection' - description?: string | null - discord_url?: string | null - external_url?: string | null - image_url?: string | null - instagram_username?: string | null - name: string - slug: string - telegram_url?: string | null - total_supply?: number | null - twitter_username?: string | null, - wiki_url?: string | null - } - contract?: { __typename?: 'Contract'; address: string; schema_name?: string | null } | null - creator?: { __typename?: 'Account'; address: string; profile_img_url: string } | null - id: string - image_url?: string | null - listings?: Array<{ - __typename?: 'Listing' - payment_token_symbol?: string | null - starting_price?: string | null - } | null> | null - name?: string | null - owners?: Array<{ - __typename?: 'Account' - address: string - profile_img_url: string - } | null> | null - permalink: string - token_id: string - traits?: Array<{ - __typename?: 'Trait' - trait_count?: number | null - trait_type?: string | null - value?: string | null - } | null> | null - }> -} + +export type AssetQuery = { __typename?: 'Query', assets: Array<{ __typename?: 'Asset', id: string, name?: string | null, image_url?: string | null, animation_original_url?: string | null, animation_url?: string | null, permalink: string, token_id: string, contract?: { __typename?: 'Contract', schema_name?: string | null, address: string } | null, owners?: Array<{ __typename?: 'Account', address: string, profile_img_url: string } | null> | null, creator?: { __typename?: 'Account', address: string, profile_img_url: string } | null, listings?: Array<{ __typename?: 'Listing', payment_token_symbol?: string | null, starting_price?: string | null } | null> | null, collection: { __typename?: 'Collection', total_supply?: number | null, name: string, slug: string, description?: string | null, image_url?: string | null, discord_url?: string | null, telegram_url?: string | null, twitter_username?: string | null, instagram_username?: string | null, wiki_url?: string | null, external_url?: string | null }, traits?: Array<{ __typename?: 'Trait', value?: string | null, trait_type?: string | null, trait_count?: number | null } | null> | null }> }; export type AssetsQueryVariables = Exact<{ - filter?: InputMaybe> | InputMaybe> - forSale?: InputMaybe - limit?: InputMaybe - offset?: InputMaybe - sort?: InputMaybe - traitFilter?: InputMaybe> | InputMaybe> -}> + filter?: InputMaybe> | InputMaybe>; + traitFilter?: InputMaybe> | InputMaybe>; + sort?: InputMaybe; + forSale?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}>; -export type AssetsQuery = { - __typename?: 'Query' - assets: Array<{ - __typename?: 'Asset' - collection: { __typename?: 'Collection'; image_url?: string | null; name: string; slug: string } - contract?: { __typename?: 'Contract'; address: string } | null - image_url?: string | null - listings?: Array<{ - __typename?: 'Listing' - payment_token_symbol?: string | null - starting_price?: string | null - } | null> | null - name?: string | null - owners?: Array<{ __typename?: 'Account'; address: string } | null> | null - permalink: string - results?: number | null - token_id: string - }> -} + +export type AssetsQuery = { __typename?: 'Query', assets: Array<{ __typename?: 'Asset', results?: number | null, name?: string | null, token_id: string, image_url?: string | null, permalink: string, contract?: { __typename?: 'Contract', address: string } | null, owners?: Array<{ __typename?: 'Account', address: string } | null> | null, listings?: Array<{ __typename?: 'Listing', payment_token_symbol?: string | null, starting_price?: string | null } | null> | null, collection: { __typename?: 'Collection', name: string, image_url?: string | null, slug: string } }> }; export type CollectionsQueryVariables = Exact<{ - filter?: InputMaybe> | InputMaybe> - sort?: InputMaybe -}> + filter?: InputMaybe> | InputMaybe>; + sort?: InputMaybe; +}>; -export type CollectionsQuery = { - __typename?: 'Query' - collections: Array<{ - __typename?: 'Collection' - banner_image_url?: string | null - chat_url?: string | null - created_date: string - description?: string | null - discord_url?: string | null - external_url?: string | null - image_url?: string | null - instagram_username?: string | null - name: string, - short_description?: string | null, - num_owners?: number | null - slug: string - stats?: { - __typename?: 'Stats' - floor_price?: string | null - one_day_volume?: string | null - total_volume?: string | null - } | null - total_supply?: number | null - traits?: Array<{ - __typename?: 'CollectionTrait' - count?: number | null - trait_type?: string | null - value?: string | null - } | null> | null - }> -} + +export type CollectionsQuery = { __typename?: 'Query', collections: Array<{ __typename?: 'Collection', chat_url?: string | null, discord_url?: string | null, external_url?: string | null, instagram_username?: string | null, image_url?: string | null, banner_image_url?: string | null, short_description?: string | null, description?: string | null, created_date: string, name: string, num_owners?: number | null, slug: string, total_supply?: number | null, stats?: { __typename?: 'Stats', floor_price?: string | null, one_day_volume?: string | null, total_volume?: string | null } | null, traits?: Array<{ __typename?: 'CollectionTrait', count?: number | null, value?: string | null, trait_type?: string | null } | null> | null }> }; export type EventsQueryVariables = Exact<{ - filter?: InputMaybe> | InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - sort?: InputMaybe -}> + filter?: InputMaybe> | InputMaybe>; + sort?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}>; -export type EventsQuery = { - __typename?: 'Query' - events: Array<{ - __typename?: 'Event' - asset?: { - __typename?: 'Asset' - contract?: { __typename?: 'Contract'; address: string } | null - image_url?: string | null - name?: string | null - token_id: string - } | null - bid_amount?: string | null - created_date: string - event_type?: string | null - from?: { __typename?: 'Account'; address: string } | null - seller?: { __typename?: 'Account'; address: string } | null - to?: { __typename?: 'Account'; address: string } | null - total_price?: string | null - winner?: { __typename?: 'Account'; address: string } | null - }> -} + +export type EventsQuery = { __typename?: 'Query', events: Array<{ __typename?: 'Event', event_type?: string | null, total_price?: string | null, bid_amount?: string | null, created_date: string, asset?: { __typename?: 'Asset', name?: string | null, token_id: string, image_url?: string | null, contract?: { __typename?: 'Contract', address: string } | null } | null, from?: { __typename?: 'Account', address: string } | null, to?: { __typename?: 'Account', address: string } | null, winner?: { __typename?: 'Account', address: string } | null, seller?: { __typename?: 'Account', address: string } | null }> }; export type OwnerQueryVariables = Exact<{ - filter?: InputMaybe> | InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - sort?: InputMaybe -}> + filter?: InputMaybe> | InputMaybe>; + sort?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}>; -export type OwnerQuery = { - __typename?: 'Query' - assets: Array<{ - __typename?: 'Asset' - animation_original_url?: string | null - collection: { __typename?: 'Collection'; image_url?: string | null; name: string; slug: string } - contract?: { __typename?: 'Contract'; address: string } | null - image_url?: string | null - last_sale?: { - __typename?: 'Event' - payment_token?: { __typename?: 'PaymentToken'; symbol: string } | null - total_price?: string | null - } | null - name?: string | null - permalink: string - token_id: string - }> -} + +export type OwnerQuery = { __typename?: 'Query', assets: Array<{ __typename?: 'Asset', name?: string | null, image_url?: string | null, animation_original_url?: string | null, token_id: string, permalink: string, collection: { __typename?: 'Collection', name: string, slug: string, image_url?: string | null }, contract?: { __typename?: 'Contract', address: string } | null, last_sale?: { __typename?: 'Event', total_price?: string | null, payment_token?: { __typename?: 'PaymentToken', symbol: string } | null } | null }> }; + +import { IntrospectionQuery } from 'graphql'; export default { - __schema: { - directives: [], - mutationType: null, - queryType: { - name: 'Query' + "__schema": { + "queryType": { + "name": "Query" }, - subscriptionType: null, - types: [ + "mutationType": null, + "subscriptionType": null, + "types": [ { - fields: [ + "kind": "OBJECT", + "name": "Account", + "fields": [ { - args: [], - name: 'address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'config', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "config", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'date_ingested', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "date_ingested", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'profile_img_url', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "profile_img_url", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'username', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "username", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Account' + "interfaces": [] }, { - fields: [ - { - args: [], - name: 'animation_original_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "kind": "OBJECT", + "name": "Asset", + "fields": [ + { + "name": "animation_original_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'animation_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "animation_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'background_color', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "background_color", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'collection', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Collection', - ofType: null + "name": "collection", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Collection", + "ofType": null } - } + }, + "args": [] }, - { - args: [], - name: 'contract', - type: { - kind: 'OBJECT', - name: 'Contract', - ofType: null - } + { + "name": "contract", + "type": { + "kind": "OBJECT", + "name": "Contract", + "ofType": null + }, + "args": [] + }, + { + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'count', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "creator", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + }, + "args": [] }, { - args: [], - name: 'creator', - type: { - kind: 'OBJECT', - name: 'Account', - ofType: null - } + "name": "date_ingested", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + }, + "args": [] }, { - args: [], - name: 'date_ingested', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "decimals", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "description", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "external_link", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'decimals', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "image_original_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'description', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "image_preview_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'external_link', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "image_thumbnail_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' - } - } - }, - { - args: [], - name: 'image_original_url', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'image_preview_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "image_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'image_thumbnail_url', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'image_url', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'is_nsfw', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "is_nsfw", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'is_presale', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "is_presale", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'last_sale', - type: { - kind: 'OBJECT', - name: 'Event', - ofType: null - } + "name": "last_sale", + "type": { + "kind": "OBJECT", + "name": "Event", + "ofType": null + }, + "args": [] }, { - args: [], - name: 'listings', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'Listing', - ofType: null + "name": "listings", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "Listing", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'name', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "name", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'num_sales', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "num_sales", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'offers', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'Event', - ofType: null + "name": "offers", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "Event", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'owners', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'Account', - ofType: null + "name": "owners", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'permalink', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "permalink", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'results', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "results", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'supports_wyvern', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "supports_wyvern", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'token_id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "token_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'token_metadata', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "token_metadata", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'traits', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'Trait', - ofType: null + "name": "traits", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "Trait", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'transfer_fee', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "transfer_fee", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'transfer_fee_address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "transfer_fee_address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'transfer_fee_symbol', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "transfer_fee_symbol", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Asset' + "interfaces": [] }, { - fields: [ + "kind": "OBJECT", + "name": "Collection", + "fields": [ { - args: [], - name: 'banner_image_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "banner_image_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'buyer_fee_basis_points', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "buyer_fee_basis_points", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'chat_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "chat_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'created_date', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "created_date", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'date_ingested', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "date_ingested", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'default_to_fiat', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "default_to_fiat", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'description', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "description", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'dev_buyer_fee_basis_points', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "dev_buyer_fee_basis_points", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'dev_seller_fee_basis_points', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "dev_seller_fee_basis_points", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'discord_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "discord_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'external_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "external_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'featured', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "featured", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'featured_image_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "featured_image_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'hidden', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "hidden", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'image_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "image_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'instagram_username', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "instagram_username", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'is_subject_to_whitelist', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "is_subject_to_whitelist", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'large_image_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "large_image_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'medium_username', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "medium_username", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'name', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "name", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'num_owners', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "num_owners", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'only_proxied_transfers', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "only_proxied_transfers", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'opensea_buyer_fee_basis_points', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "opensea_buyer_fee_basis_points", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'opensea_seller_fee_basis_points', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "opensea_seller_fee_basis_points", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'payment_tokens', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'PaymentToken', - ofType: null + "name": "payment_tokens", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "PaymentToken", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'payout_address', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "payout_address", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'primary_asset_contracts', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'Contract', - ofType: null + "name": "primary_asset_contracts", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "Contract", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'require_email', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "require_email", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'safelist_request_status', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "safelist_request_status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'seller_fee_basis_points', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "seller_fee_basis_points", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'short_description', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "short_description", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'slug', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "slug", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'stats', - type: { - kind: 'OBJECT', - name: 'Stats', - ofType: null - } + "name": "stats", + "type": { + "kind": "OBJECT", + "name": "Stats", + "ofType": null + }, + "args": [] }, { - args: [], - name: 'telegram_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "telegram_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'total_supply', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "total_supply", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'traits', - type: { - kind: 'LIST', - ofType: { - kind: 'OBJECT', - name: 'CollectionTrait', - ofType: null + "name": "traits", + "type": { + "kind": "LIST", + "ofType": { + "kind": "OBJECT", + "name": "CollectionTrait", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'twitter_username', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "twitter_username", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'wiki_url', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "wiki_url", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Collection' + "interfaces": [] }, { - fields: [ - { - args: [], - name: 'count', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'trait_type', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'value', - type: { - kind: 'SCALAR', - name: 'Any' - } + "kind": "OBJECT", + "name": "CollectionTrait", + "fields": [ + { + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "trait_type", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "value", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'CollectionTrait' + "interfaces": [] }, { - fields: [ + "kind": "OBJECT", + "name": "Contract", + "fields": [ { - args: [], - name: 'address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'asset_contract_type', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "asset_contract_type", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'created_date', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "created_date", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'date_ingested', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "date_ingested", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'nft_version', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "nft_version", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'opensea_version', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "opensea_version", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'owner', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "owner", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'schema_name', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "schema_name", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'symbol', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "symbol", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'total_supply', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "total_supply", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Contract' + "interfaces": [] }, { - fields: [ - { - args: [], - name: 'asset', - type: { - kind: 'OBJECT', - name: 'Asset', - ofType: null - } + "kind": "OBJECT", + "name": "Event", + "fields": [ + { + "name": "asset", + "type": { + "kind": "OBJECT", + "name": "Asset", + "ofType": null + }, + "args": [] + }, + { + "name": "auction_type", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "bid_amount", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'auction_type', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'bid_amount', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'collection', - type: { - kind: 'OBJECT', - name: 'Collection', - ofType: null - } - }, + "name": "collection", + "type": { + "kind": "OBJECT", + "name": "Collection", + "ofType": null + }, + "args": [] + }, { - args: [], - name: 'contract_address', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, + "name": "contract_address", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, { - args: [], - name: 'created_date', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' - } - } + "name": "created_date", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + }, + "args": [] }, { - args: [], - name: 'custom_event_name', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, + "name": "custom_event_name", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, { - args: [], - name: 'date_ingested', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' - } - } - }, - { - args: [], - name: 'duration', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'end_date', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "date_ingested", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + }, + "args": [] }, { - args: [], - name: 'ending_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'event_type', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'from', - type: { - kind: 'OBJECT', - name: 'Account', - ofType: null - } - }, - { - args: [], - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' - } - } - }, + "name": "duration", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "end_date", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "ending_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "event_type", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "from", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + }, + "args": [] + }, + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + }, + "args": [] + }, { - args: [], - name: 'is_private', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' - } - } - }, - { - args: [], - name: 'listing_time', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'owner', - type: { - kind: 'OBJECT', - name: 'Account', - ofType: null - } - }, + "name": "is_private", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + }, + "args": [] + }, + { + "name": "listing_time", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "owner", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + }, + "args": [] + }, { - args: [], - name: 'payment_token', - type: { - kind: 'OBJECT', - name: 'PaymentToken', - ofType: null - } + "name": "payment_token", + "type": { + "kind": "OBJECT", + "name": "PaymentToken", + "ofType": null + }, + "args": [] }, - { - args: [], - name: 'quantity', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + { + "name": "quantity", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } - }, - { - args: [], - name: 'seller', - type: { - kind: 'OBJECT', - name: 'Account', - ofType: null - } - }, - { - args: [], - name: 'starting_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'to', - type: { - kind: 'OBJECT', - name: 'Account', - ofType: null - } - }, - { - args: [], - name: 'total_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'tx', - type: { - kind: 'OBJECT', - name: 'Transaction', - ofType: null - } - }, - { - args: [], - name: 'winner', - type: { - kind: 'OBJECT', - name: 'Account', - ofType: null - } + }, + "args": [] + }, + { + "name": "seller", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + }, + "args": [] + }, + { + "name": "starting_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "to", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + }, + "args": [] + }, + { + "name": "total_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "tx", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + }, + "args": [] + }, + { + "name": "winner", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Event' + "interfaces": [] }, { - fields: [ + "kind": "OBJECT", + "name": "Listing", + "fields": [ { - args: [], - name: 'auction_type', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "auction_type", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'created_date', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "created_date", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'duration', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "duration", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'end_date', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "end_date", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'ending_price', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "ending_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'from_account_address', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "from_account_address", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'is_private', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "is_private", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'listing_time', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "listing_time", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'payment_token_symbol', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "payment_token_symbol", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'quantity', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "quantity", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'seller_account_address', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "seller_account_address", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'starting_price', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "starting_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Listing' + "interfaces": [] }, { - fields: [ + "kind": "OBJECT", + "name": "PaymentToken", + "fields": [ { - args: [], - name: 'address', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "address", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'date_ingested', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "date_ingested", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'date_updated', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "date_updated", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'decimals', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "decimals", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'eth_price', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "eth_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'image_url', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "image_url", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'name', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "name", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'symbol', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "symbol", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'usd_price', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "usd_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'PaymentToken' + "interfaces": [] }, { - fields: [ - { - args: [ + "kind": "OBJECT", + "name": "Query", + "fields": [ + { + "name": "assets", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Asset", + "ofType": null + } + } + } + }, + "args": [ { - name: 'endingSoon', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "endingSoon", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'filter', - type: { - kind: 'LIST', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "filter", + "type": { + "kind": "LIST", + "ofType": { + "kind": "SCALAR", + "name": "Any" } } }, { - name: 'forSale', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "forSale", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'limit', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'offset', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'sort', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "sort", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'traitFilter', - type: { - kind: 'LIST', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "traitFilter", + "type": { + "kind": "LIST", + "ofType": { + "kind": "SCALAR", + "name": "Any" } } } - ], - name: 'assets', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Asset', - ofType: null + ] + }, + { + "name": "collections", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Collection", + "ofType": null } } } - } - }, - { - args: [ + }, + "args": [ { - name: 'filter', - type: { - kind: 'LIST', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "filter", + "type": { + "kind": "LIST", + "ofType": { + "kind": "SCALAR", + "name": "Any" } } }, { - name: 'limit', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'offset', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'sort', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "sort", + "type": { + "kind": "SCALAR", + "name": "Any" } } - ], - name: 'collections', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Collection', - ofType: null + ] + }, + { + "name": "events", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Event", + "ofType": null } } } - } - }, - { - args: [ + }, + "args": [ { - name: 'filter', - type: { - kind: 'LIST', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "filter", + "type": { + "kind": "LIST", + "ofType": { + "kind": "SCALAR", + "name": "Any" } } }, { - name: 'limit', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'offset', - type: { - kind: 'SCALAR', - name: 'Any' + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Any" } }, { - name: 'sort', - type: { - kind: 'SCALAR', - name: 'Any' - } - } - ], - name: 'events', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'LIST', - ofType: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Event', - ofType: null - } + "name": "sort", + "type": { + "kind": "SCALAR", + "name": "Any" } } - } + ] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Query' + "interfaces": [] }, { - fields: [ - { - args: [], - name: 'average_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'floor_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'one_day_average_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'one_day_sales', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'one_day_volume', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'seven_day_average_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'seven_day_sales', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'seven_day_volume', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'thirty_day_average_price', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'thirty_day_sales', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'thirty_day_volume', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'total_sales', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'total_volume', - type: { - kind: 'SCALAR', - name: 'Any' - } + "kind": "OBJECT", + "name": "Stats", + "fields": [ + { + "name": "average_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "floor_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "one_day_average_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "one_day_sales", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "one_day_volume", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "seven_day_average_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "seven_day_sales", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "seven_day_volume", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "thirty_day_average_price", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "thirty_day_sales", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "thirty_day_volume", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "total_sales", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "total_volume", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Stats' + "interfaces": [] }, { - fields: [ - { - args: [], - name: 'collection_slug', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'date_ingested', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'display_type', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'max_value', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'order', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'token_id', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'trait_count', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'trait_type', - type: { - kind: 'SCALAR', - name: 'Any' - } - }, - { - args: [], - name: 'value', - type: { - kind: 'SCALAR', - name: 'Any' - } + "kind": "OBJECT", + "name": "Trait", + "fields": [ + { + "name": "collection_slug", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "date_ingested", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "display_type", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "max_value", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "order", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "token_id", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "trait_count", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "trait_type", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] + }, + { + "name": "value", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Trait' + "interfaces": [] }, { - fields: [ + "kind": "OBJECT", + "name": "Transaction", + "fields": [ { - args: [], - name: 'block_hash', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "block_hash", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'block_number', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "block_number", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'date_ingested', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "date_ingested", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'from_account', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Account', - ofType: null + "name": "from_account", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'id', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'timestamp', - type: { - kind: 'SCALAR', - name: 'Any' - } + "name": "timestamp", + "type": { + "kind": "SCALAR", + "name": "Any" + }, + "args": [] }, { - args: [], - name: 'to_account', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'OBJECT', - name: 'Account', - ofType: null + "name": "to_account", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null } - } + }, + "args": [] }, { - args: [], - name: 'transaction_hash', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "transaction_hash", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] }, { - args: [], - name: 'transaction_index', - type: { - kind: 'NON_NULL', - ofType: { - kind: 'SCALAR', - name: 'Any' + "name": "transaction_index", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" } - } + }, + "args": [] } ], - interfaces: [], - kind: 'OBJECT', - name: 'Transaction' + "interfaces": [] }, { - kind: 'SCALAR', - name: 'Any' + "kind": "SCALAR", + "name": "Any" } - ] + ], + "directives": [] } -} as unknown as IntrospectionQuery +} as unknown as IntrospectionQuery; export const AssetDocument = gql` - query Asset($filter: [AssetFilter], $limit: Int) { - assets(filter: $filter, limit: $limit) { - id + query Asset($filter: [AssetFilter], $limit: Int) { + assets(filter: $filter, limit: $limit) { + id + name + image_url + contract { + schema_name + } + owners { + address + profile_img_url + } + creator { + address + profile_img_url + } + listings { + payment_token_symbol + starting_price + } + animation_original_url + collection { + total_supply name + slug + description image_url - contract { - schema_name - } - owners { - address - profile_img_url - } - creator { - address - profile_img_url - } - listings { - payment_token_symbol - starting_price - } - animation_original_url - collection { - total_supply - name - slug - description - image_url - discord_url - telegram_url - twitter_username - instagram_username - wiki_url - external_url - } - animation_url - contract { - address - } - permalink - token_id - traits { - value - trait_type - trait_count - } + discord_url + telegram_url + twitter_username + instagram_username + wiki_url + external_url + } + animation_url + contract { + address + } + permalink + token_id + traits { + value + trait_type + trait_count } } -` +} + `; export function useAssetQuery(options?: Omit, 'query'>) { - return Urql.useQuery({ query: AssetDocument, ...options }) -} + return Urql.useQuery({ query: AssetDocument, ...options }); +}; export const AssetsDocument = gql` - query Assets( - $filter: [AssetFilter] - $traitFilter: [TraitFilter] - $sort: AssetSort - $forSale: Boolean - $limit: Int - $offset: Int + query Assets($filter: [AssetFilter], $traitFilter: [TraitFilter], $sort: AssetSort, $forSale: Boolean, $limit: Int, $offset: Int) { + assets( + filter: $filter + traitFilter: $traitFilter + sort: $sort + forSale: $forSale + limit: $limit + offset: $offset ) { - assets( - filter: $filter - traitFilter: $traitFilter - sort: $sort - forSale: $forSale - limit: $limit - offset: $offset - ) { - results + results + name + token_id + contract { + address + } + image_url + permalink + owners { + address + } + listings { + payment_token_symbol + starting_price + } + collection { name - token_id - contract { - address - } image_url - permalink - owners { - address - } - listings { - payment_token_symbol - starting_price - } - collection { - name - image_url - slug - } + slug } } -` +} + `; export function useAssetsQuery(options?: Omit, 'query'>) { - return Urql.useQuery({ query: AssetsDocument, ...options }) -} + return Urql.useQuery({ query: AssetsDocument, ...options }); +}; export const CollectionsDocument = gql` - query Collections($filter: [CollectionFilter], $sort: CollectionSort) { - collections(filter: $filter, sort: $sort) { - chat_url - discord_url - external_url - instagram_username - image_url - banner_image_url - short_description - description - created_date - name - num_owners - slug - total_supply - stats { - floor_price - one_day_volume - total_volume - } - traits { - count - value - trait_type - } + query Collections($filter: [CollectionFilter], $sort: CollectionSort) { + collections(filter: $filter, sort: $sort) { + chat_url + discord_url + external_url + instagram_username + image_url + banner_image_url + short_description + description + created_date + name + num_owners + slug + total_supply + stats { + floor_price + one_day_volume + total_volume + } + traits { + count + value + trait_type } } -` - -export function useCollectionsQuery( - options?: Omit, 'query'> -) { - return Urql.useQuery({ query: CollectionsDocument, ...options }) } + `; + +export function useCollectionsQuery(options?: Omit, 'query'>) { + return Urql.useQuery({ query: CollectionsDocument, ...options }); +}; export const EventsDocument = gql` - query Events($filter: [EventFilter], $sort: EventSort, $limit: Int, $offset: Int) { - events(filter: $filter, sort: $sort, limit: $limit, offset: $offset) { - event_type - asset { - name - token_id - image_url - contract { - address - } - } - total_price - bid_amount - from { - address - } - to { - address - } - winner { - address - } - seller { + query Events($filter: [EventFilter], $sort: EventSort, $limit: Int, $offset: Int) { + events(filter: $filter, sort: $sort, limit: $limit, offset: $offset) { + event_type + asset { + name + token_id + image_url + contract { address } - created_date } + total_price + bid_amount + from { + address + } + to { + address + } + winner { + address + } + seller { + address + } + created_date } -` +} + `; export function useEventsQuery(options?: Omit, 'query'>) { - return Urql.useQuery({ query: EventsDocument, ...options }) -} + return Urql.useQuery({ query: EventsDocument, ...options }); +}; export const OwnerDocument = gql` - query Owner($filter: [AssetFilter], $sort: AssetSort, $limit: Int, $offset: Int) { - assets(filter: $filter, sort: $sort, limit: $limit, offset: $offset) { + query Owner($filter: [AssetFilter], $sort: AssetSort, $limit: Int, $offset: Int) { + assets(filter: $filter, sort: $sort, limit: $limit, offset: $offset) { + name + image_url + animation_original_url + collection { name + slug image_url - animation_original_url - collection { - name - slug - image_url - } - contract { - address - } - last_sale { - payment_token { - symbol - } - total_price + } + contract { + address + } + last_sale { + payment_token { + symbol } - token_id - permalink + total_price } + token_id + permalink } -` +} + `; export function useOwnerQuery(options?: Omit, 'query'>) { - return Urql.useQuery({ query: OwnerDocument, ...options }) -} + return Urql.useQuery({ query: OwnerDocument, ...options }); +}; \ No newline at end of file