Type alias ListOrdersQuery

ListOrdersQuery: {
    __typename?: "Query";
    result: {
        __typename?: "OrderConnection";
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: string | null;
            hasNextPage: boolean;
        };
        edges: {
            __typename?: "OrderEdge";
            node: {
                __typename: "BuyNowPayLaterOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "CollectionOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "MultipleTraitOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "SellAndRepayOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "SetBidOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "SingleNFTOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
                nft: {
                    __typename?: "NFT";
                    id: string;
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        id: string;
                    } | null;
                };
            } | {
                __typename: "StealthMaskedOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "TraitOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            };
        }[];
    };
}

Type declaration

  • Optional __typename?: "Query"
  • result: {
        __typename?: "OrderConnection";
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: string | null;
            hasNextPage: boolean;
        };
        edges: {
            __typename?: "OrderEdge";
            node: {
                __typename: "BuyNowPayLaterOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "CollectionOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "MultipleTraitOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "SellAndRepayOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "SetBidOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "SingleNFTOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
                nft: {
                    __typename?: "NFT";
                    id: string;
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        id: string;
                    } | null;
                };
            } | {
                __typename: "StealthMaskedOrder";
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            } | {
                __typename: "TraitOrder";
                collectionId: number;
                id: string;
                price: bigint;
                steppedPrice?: bigint | null;
                currencyAddress: Address;
                maker: Address;
                isAsk: boolean;
                status: string;
                startTime: Date;
                expiration: Date;
                executions: number;
                maxExecutions: number;
                cancelsOffChain: boolean;
                marketPlace: string;
                marketPlaceAddress: Address;
            };
        }[];
    }
    • Optional __typename?: "OrderConnection"
    • pageInfo: {
          __typename?: "PageInfo";
          endCursor?: string | null;
          hasNextPage: boolean;
      }
      • Optional __typename?: "PageInfo"
      • Optional endCursor?: string | null
      • hasNextPage: boolean
    • edges: {
          __typename?: "OrderEdge";
          node: {
              __typename: "BuyNowPayLaterOrder";
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
          } | {
              __typename: "CollectionOrder";
              collectionId: number;
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
          } | {
              __typename: "MultipleTraitOrder";
              collectionId: number;
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
          } | {
              __typename: "SellAndRepayOrder";
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
          } | {
              __typename: "SetBidOrder";
              collectionId: number;
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
          } | {
              __typename: "SingleNFTOrder";
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
              nft: {
                  __typename?: "NFT";
                  id: string;
                  tokenId: bigint;
                  collection?: {
                      __typename?: "Collection";
                      id: string;
                  } | null;
              };
          } | {
              __typename: "StealthMaskedOrder";
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
          } | {
              __typename: "TraitOrder";
              collectionId: number;
              id: string;
              price: bigint;
              steppedPrice?: bigint | null;
              currencyAddress: Address;
              maker: Address;
              isAsk: boolean;
              status: string;
              startTime: Date;
              expiration: Date;
              executions: number;
              maxExecutions: number;
              cancelsOffChain: boolean;
              marketPlace: string;
              marketPlaceAddress: Address;
          };
      }[]