Type alias ListListingsQuery

ListListingsQuery: {
    __typename?: "Query";
    result: {
        __typename?: "ListingConnection";
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: string | null;
            hasNextPage: boolean;
        };
        edges: {
            __typename?: "ListingEdge";
            node: {
                __typename?: "Listing";
                id: string;
                marketplaceName: MarketplaceEnum;
                createdDate: Date;
                desiredDuration?: number | null;
                desiredPrincipalAddress?: Address | null;
                user: {
                    __typename?: "User";
                    walletAddress: Address;
                };
                nft: {
                    __typename?: "NFT";
                    id: string;
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        id: string;
                        slug: string;
                        contractData: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                        };
                    } | null;
                };
            };
        }[];
    };
}

Type declaration

  • Optional __typename?: "Query"
  • result: {
        __typename?: "ListingConnection";
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: string | null;
            hasNextPage: boolean;
        };
        edges: {
            __typename?: "ListingEdge";
            node: {
                __typename?: "Listing";
                id: string;
                marketplaceName: MarketplaceEnum;
                createdDate: Date;
                desiredDuration?: number | null;
                desiredPrincipalAddress?: Address | null;
                user: {
                    __typename?: "User";
                    walletAddress: Address;
                };
                nft: {
                    __typename?: "NFT";
                    id: string;
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        id: string;
                        slug: string;
                        contractData: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                        };
                    } | null;
                };
            };
        }[];
    }
    • Optional __typename?: "ListingConnection"
    • pageInfo: {
          __typename?: "PageInfo";
          endCursor?: string | null;
          hasNextPage: boolean;
      }
      • Optional __typename?: "PageInfo"
      • Optional endCursor?: string | null
      • hasNextPage: boolean
    • edges: {
          __typename?: "ListingEdge";
          node: {
              __typename?: "Listing";
              id: string;
              marketplaceName: MarketplaceEnum;
              createdDate: Date;
              desiredDuration?: number | null;
              desiredPrincipalAddress?: Address | null;
              user: {
                  __typename?: "User";
                  walletAddress: Address;
              };
              nft: {
                  __typename?: "NFT";
                  id: string;
                  tokenId: bigint;
                  collection?: {
                      __typename?: "Collection";
                      id: string;
                      slug: string;
                      contractData: {
                          __typename?: "ContractData";
                          contractAddress: Address;
                      };
                  } | null;
              };
          };
      }[]