@quicknode/sdk 0.5.1 → 1.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- export * from './nft';
@@ -1,4 +0,0 @@
1
- export declare const getCollectionDetailsRawQuery: import("graphql/language/ast").DocumentNode;
2
- export interface CollectionDetailsQueryVariables {
3
- address: string;
4
- }
@@ -1,6 +0,0 @@
1
- import { PaginationArgs, LogEvents } from '../../../types';
2
- export declare const getContractEventLogsRawQuery: import("graphql/language/ast").DocumentNode;
3
- export interface ContractEventLogQueryVariables extends PaginationArgs {
4
- address: string;
5
- types?: LogEvents[];
6
- }
@@ -1,5 +0,0 @@
1
- export declare const getNFTDetailsRawQuery: import("graphql/language/ast").DocumentNode;
2
- export interface NFTDetailsQueryVariables {
3
- contractAddress: string;
4
- tokenId: string;
5
- }
@@ -1,7 +0,0 @@
1
- import { PaginationArgs, LogEvents } from '../../../types';
2
- export declare const getNFTEventLogsRawQuery: import("graphql/language/ast").DocumentNode;
3
- export interface EventLogsQueryVariables extends PaginationArgs {
4
- address: string;
5
- tokenId: string;
6
- types?: LogEvents[];
7
- }
@@ -1,5 +0,0 @@
1
- import { PaginationArgs } from '../../../types';
2
- export declare const getContractAddressNFTsRawQuery: import("graphql/language/ast").DocumentNode;
3
- export interface ContractAddressNFTsQueryVariables extends PaginationArgs {
4
- address: string;
5
- }
@@ -1,5 +0,0 @@
1
- import { PaginationArgs } from '../../../types';
2
- export declare const getWalletAddressNFTsRawQuery: import("graphql/language/ast").DocumentNode;
3
- export interface WalletAddressNFTsQueryVariables extends PaginationArgs {
4
- address: string;
5
- }
@@ -1,6 +0,0 @@
1
- import { PaginationArgs } from '../../../types';
2
- export declare const getNFTsWalletAndContractsRawQuery: import("graphql/language/ast").DocumentNode;
3
- export interface NFTWalletAndContractQueryVariables extends PaginationArgs {
4
- address: string;
5
- contracts: string[];
6
- }
@@ -1,5 +0,0 @@
1
- import { PaginationArgs } from '../../../types';
2
- export declare const getWalletENSNFTsRawQuery: import("graphql/language/ast").DocumentNode;
3
- export interface WalletENSNFTsQueryVariables extends PaginationArgs {
4
- ensName: string;
5
- }
@@ -1,3 +0,0 @@
1
- export * from './getNFTsByWalletAddress/getNFTsByWalletAddress';
2
- export * from './getNFTsByWalletENS/getNFTsByWalletENS';
3
- export * from './getNFTsByContractAddress/getNFTsByContractAddress';
@@ -1,23 +0,0 @@
1
- import { ApolloQueryResult } from '@apollo/client';
2
- import { CustomApolloClient } from '../../client/customApolloClient';
3
- import { WalletAddressNFTsQueryVariables } from './getNFTsByWalletAddress/getNFTsByWalletAddress';
4
- import { WalletENSNFTsQueryVariables } from './getNFTsByWalletENS/getNFTsByWalletENS';
5
- import { ContractAddressNFTsQueryVariables } from './getNFTsByContractAddress/getNFTsByContractAddress';
6
- import { CollectionDetailsQueryVariables } from './getCollectionDetails/getCollectionDetails';
7
- import { EventLogsQueryVariables } from './getNFTEventLogs/getNFTEventLogs';
8
- import { NFTDetailsQueryVariables } from './getNFTDetails/getNFTDetails';
9
- import { ContractEventLogQueryVariables } from './getContractEventLogs/getContractEventLogs';
10
- import { NFTWalletAndContractQueryVariables } from './getNFTsByWalletAndContracts/getNFTsByWalletAndContracts';
11
- import { ContractNFTsQueryResponse, WalletNFTsQueryResponse, CollectionDetailsQueryResponse, EventLogsQueryResponse, NFTDetailsQueryResponse, ContractEventLogsQueryResponse } from './sharedTypes';
12
- export declare class NFTQueries {
13
- private client;
14
- constructor(client: CustomApolloClient);
15
- getNFTsByWalletAddress(variables: WalletAddressNFTsQueryVariables): Promise<ApolloQueryResult<WalletNFTsQueryResponse>>;
16
- getNFTsByWalletENS(variables: WalletENSNFTsQueryVariables): Promise<ApolloQueryResult<WalletNFTsQueryResponse>>;
17
- getNFTsByContractAddress(variables: ContractAddressNFTsQueryVariables): Promise<ApolloQueryResult<ContractNFTsQueryResponse>>;
18
- getCollectionDetails(variables: CollectionDetailsQueryVariables): Promise<ApolloQueryResult<CollectionDetailsQueryResponse>>;
19
- getNFTEventLogs(variables: EventLogsQueryVariables): Promise<ApolloQueryResult<EventLogsQueryResponse>>;
20
- getNFTDetails(variables: NFTDetailsQueryVariables): Promise<ApolloQueryResult<NFTDetailsQueryResponse>>;
21
- getContractEventLogs(variables: ContractEventLogQueryVariables): Promise<ApolloQueryResult<ContractEventLogsQueryResponse>>;
22
- getNFTsByWalletAndContracts(variables: NFTWalletAndContractQueryVariables): Promise<ApolloQueryResult<WalletNFTsQueryResponse>>;
23
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * @todo implement generic typing
3
- */
4
- export declare const removeNodesAndEdges: (data: any) => any | any[];