Type alias BuyWithLoanListingQuery

BuyWithLoanListingQuery: {
    __typename?: "Query";
    listOrdersV2: {
        __typename?: "OrderConnection";
        edges: {
            __typename?: "OrderEdge";
            node: {
                __typename: "BuyNowPayLaterOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "CollectionOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "MultipleTraitOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "SellAndRepayOrder";
                repaymentCalldata: Hex;
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                loan: {
                    __typename?: "MultiSourceLoan";
                    address: Address;
                    loanId: number;
                    status: string;
                    principalAddress: Address;
                    startTime: Date;
                    duration: bigint;
                };
                nft: {
                    __typename?: "NFT";
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        contractData: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                            blockchain: string;
                        };
                    } | null;
                };
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "SetBidOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "SingleNFTOrder";
                evmOrder?: object | null;
                signature: Hex;
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                nft: {
                    __typename?: "NFT";
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        contractData: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                            blockchain: string;
                        };
                    } | null;
                };
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "StealthMaskedOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "TraitOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            };
        }[];
    };
}

Type declaration

  • Optional __typename?: "Query"
  • listOrdersV2: {
        __typename?: "OrderConnection";
        edges: {
            __typename?: "OrderEdge";
            node: {
                __typename: "BuyNowPayLaterOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "CollectionOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "MultipleTraitOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "SellAndRepayOrder";
                repaymentCalldata: Hex;
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                loan: {
                    __typename?: "MultiSourceLoan";
                    address: Address;
                    loanId: number;
                    status: string;
                    principalAddress: Address;
                    startTime: Date;
                    duration: bigint;
                };
                nft: {
                    __typename?: "NFT";
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        contractData: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                            blockchain: string;
                        };
                    } | null;
                };
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "SetBidOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "SingleNFTOrder";
                evmOrder?: object | null;
                signature: Hex;
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                nft: {
                    __typename?: "NFT";
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        contractData: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                            blockchain: string;
                        };
                    } | null;
                };
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "StealthMaskedOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            } | {
                __typename: "TraitOrder";
                id: string;
                price: bigint;
                currencyAddress: Address;
                expiration: Date;
                status: string;
                isAsk: boolean;
                maker: Address;
                taker: Address;
                marketPlace: string;
                marketPlaceAddress: Address;
                platformFees: {
                    __typename?: "PlatformFee";
                    bps: bigint;
                    beneficiary: Address;
                }[];
            };
        }[];
    }
    • Optional __typename?: "OrderConnection"
    • edges: {
          __typename?: "OrderEdge";
          node: {
              __typename: "BuyNowPayLaterOrder";
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          } | {
              __typename: "CollectionOrder";
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          } | {
              __typename: "MultipleTraitOrder";
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          } | {
              __typename: "SellAndRepayOrder";
              repaymentCalldata: Hex;
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              loan: {
                  __typename?: "MultiSourceLoan";
                  address: Address;
                  loanId: number;
                  status: string;
                  principalAddress: Address;
                  startTime: Date;
                  duration: bigint;
              };
              nft: {
                  __typename?: "NFT";
                  tokenId: bigint;
                  collection?: {
                      __typename?: "Collection";
                      contractData: {
                          __typename?: "ContractData";
                          contractAddress: Address;
                          blockchain: string;
                      };
                  } | null;
              };
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          } | {
              __typename: "SetBidOrder";
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          } | {
              __typename: "SingleNFTOrder";
              evmOrder?: object | null;
              signature: Hex;
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              nft: {
                  __typename?: "NFT";
                  tokenId: bigint;
                  collection?: {
                      __typename?: "Collection";
                      contractData: {
                          __typename?: "ContractData";
                          contractAddress: Address;
                          blockchain: string;
                      };
                  } | null;
              };
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          } | {
              __typename: "StealthMaskedOrder";
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          } | {
              __typename: "TraitOrder";
              id: string;
              price: bigint;
              currencyAddress: Address;
              expiration: Date;
              status: string;
              isAsk: boolean;
              maker: Address;
              taker: Address;
              marketPlace: string;
              marketPlaceAddress: Address;
              platformFees: {
                  __typename?: "PlatformFee";
                  bps: bigint;
                  beneficiary: Address;
              }[];
          };
      }[]