UNPKG

@basementdev/sdk

Version:
1,188 lines 70.5 kB
import { GraphQLClient } from "graphql-request"; import * as Dom from "graphql-request/dist/types.dom"; export declare type Maybe<T> = T | null; export declare type InputMaybe<T> = Maybe<T>; export declare type Exact<T extends { [key: string]: unknown; }> = { [K in keyof T]: T[K]; }; export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]>; }; export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]>; }; /** All built-in and custom scalars, mapped to their actual values */ export declare type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; /** Cursor used in pagination */ Cursor: any; /** * The `DateTime` scalar type represents a date and time in the UTC * timezone. The DateTime appears in a JSON response as an ISO8601 formatted * string, including UTC timezone ("Z"). The parsed date and time string will * be converted to UTC if there is an offset. */ DateTime: any; /** .eth addresses */ EnsAddress: any; /** Address with EIP55 checksum */ HexAddress: any; /** * The `Json` scalar type represents arbitrary json string data, represented as UTF-8 * character sequences. The Json type is most often used to represent a free-form * human-readable json string. */ Json: any; /** The LogTopic scalar type converts addresses and written signatures to their hex equivalents used in log topics */ LogTopic: any; /** The `wei` scalar takes large integers and converts them to a base10 string. Due to javascript's limits, prices in wei can be inaccurate when passed as a string. */ Wei: any; }; /** Address on the blockchain, contains info about tokens and ENS profiles */ export declare type Address = { /** EIP55 checksummed hexadecimal address */ address: Scalars["HexAddress"]; /** * ENS profile which was used to refer to this address in a top-level argument, null if this address was queried as a hex address instead of an ENS name. * * *Example:* * `address(name: "vitalik.eth") { profile { name } }` will return vitalik.eth as the profile's name. */ profile: Maybe<Profile>; /** ENS profile for the reverse-record set in ENS for this address */ reverseProfile: Maybe<Profile>; tokens: Maybe<Array<NonFungibleToken>>; }; /** Address on the blockchain, contains info about tokens and ENS profiles */ export declare type AddressTokensArgs = { limit: InputMaybe<Scalars["Int"]>; }; export declare type Contract = { address: Scalars["HexAddress"]; }; export declare type Cursors = { /** Returns the elements in the list that come after the specified cursor. */ after: Maybe<Scalars["String"]>; /** Returns the elements in the list that come before the specified cursor. */ before: Maybe<Scalars["String"]>; }; export declare type Erc20Balance = { amount: Scalars["Wei"]; contract: Address; owner: Address; }; export declare type Erc20BalancesFilter = { /** Owner address */ ownerAddress: Scalars["EnsAddress"]; }; export declare type Erc20Contract = Contract & { address: Scalars["HexAddress"]; decimals: Maybe<Scalars["Int"]>; name: Maybe<Scalars["String"]>; symbol: Maybe<Scalars["String"]>; }; /** A transfer of an ERC721 non fungible token from one token to another, as defined in EIP721. */ export declare type Erc20Transfer = TransactionEvent & Transfer & { /** Block Number in which this transaction was included */ blockNumber: Scalars["Int"]; contract: Maybe<Contract>; /** Address containing this token's contract code */ contractAddress: Scalars["HexAddress"]; /** Address sending this token, when this contains the "null address" this token was minted during this transfer */ from: Address; /** Position of the log within a block in which this transfer was logged */ logIndex: Scalars["Int"]; /** Address receiving this token, when this contains the "null address" this token was burned during this transfer */ to: Maybe<Address>; /** Transaction in which this transfer occurred */ transaction: Transaction; /** Hash signature of the transaction in which this transfer did occur */ transactionHash: Scalars["String"]; }; export declare type Erc20TransferPage = { /** Cursors for use in Pagination */ cursors: Cursors; /** List of transfers within this page, use the `after` cursor to fetch more tokens */ erc20Transfers: Array<Erc20Transfer>; /** Total amount of items within the given filters. Capped at 10000 for performance reasons. */ totalCount: Scalars["Int"]; }; export declare type Erc20TransfersFilter = { /** A list of block numbers to include transfers from */ blockNumbers: InputMaybe<Array<Scalars["Int"]>>; /** A contract to include transfers from. */ contractAddresses: InputMaybe<Array<InputMaybe<Scalars["String"]>>>; /** Categories to exclude transfers from */ exclude: InputMaybe<Array<ExcludeTransferFilter>>; /** A list of addresses who received the NFT. Ignored when empty. */ fromAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; /** A list of addresses who received the NFT. */ toAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; }; export declare type Erc721Token = NonFungibleToken & { animation: Maybe<Media>; animationUrl: Maybe<Scalars["String"]>; attributes: Maybe<Array<NonFungibleTokenAttribute>>; backgroundColor: Maybe<Scalars["String"]>; contract: Scalars["String"]; description: Maybe<Scalars["String"]>; externalUrl: Maybe<Scalars["String"]>; image: Maybe<Media>; imageStorageType: Maybe<TokenStorageType>; mintPrice: Scalars["Wei"]; mintTransaction: Maybe<Transaction>; name: Maybe<Scalars["String"]>; owner: Maybe<Address>; sales: Maybe<Array<NonFungibleTokenSale>>; tokenId: Scalars["String"]; tokenUri: Maybe<Scalars["Json"]>; youtubeUrl: Maybe<Scalars["String"]>; }; /** A transfer of an ERC721 non fungible token from one token to another, as defined in EIP721. */ export declare type Erc721Transfer = TransactionEvent & Transfer & { /** Block hash in which this transaction was included */ blockHash: Maybe<Scalars["String"]>; /** Block Number in which this transaction was included */ blockNumber: Scalars["Int"]; /** Address containing this token's contract code */ contract: Address; /** Address containing this token's contract code */ contractAddress: Scalars["HexAddress"]; /** Address sending this token, when this contains the "null address" this token was minted during this transfer */ from: Address; /** Whether this was a mint initiated by an address that was not the receiver of this transfer */ isAirdrop: Scalars["Boolean"]; /** Position of the log within a block in which this transfer was logged */ logIndex: Scalars["Int"]; /** Sale log found to be associated with this transfer */ sale: Maybe<NonFungibleTokenSale>; /** Address receiving this token, when this contains the "null address" this token was burned during this transfer */ to: Maybe<Address>; /** Metadata for the token which was transferred */ token: NonFungibleToken; /** Token ID which was transferred */ tokenId: Scalars["String"]; /** Transaction in which this transfer occurred */ transaction: Transaction; /** Hash signature of the transaction in which this transfer did occur */ transactionHash: Scalars["String"]; }; export declare type Erc721TransferPage = { /** Cursors for use in Pagination */ cursors: Cursors; /** List of transfers within this page, use the `after` cursor to fetch more tokens */ erc721Transfers: Array<Erc721Transfer>; /** Total amount of items within the given filters. Capped at 10000 for performance reasons. */ totalCount: Scalars["Int"]; }; export declare enum ExcludeTransferFilter { /** Mints where the initiatior of the transaction does not match the recipient of the token. We may include transactions that were executed through a trusted contract, such as a marketplace. */ Airdrop = "AIRDROP", /** Transfers without an associated sale or where the value of the transaction is zero. We may include transactions where there is no indexed sale if it's coming from a trusted contract. */ ZeroEthTransfer = "ZERO_ETH_TRANSFER" } export declare enum Marketplace { /** Trade made through the Blur marketplace */ Blur = "BLUR", /** Trade made through the Looksrare marketplace */ Looksrare = "LOOKSRARE", /** Trade made through a wyvern or seaport contract */ Opensea = "OPENSEA" } export declare type Media = { /** Blurhash for showing a gradient while images are fetching, uses formatting from https://blurhash.io */ blurhash: Maybe<Scalars["String"]>; /** An arbitrary checksum for this media, useful for caching */ checksum: Scalars["String"]; /** Image's height, nil if this media is not an image */ height: Maybe<Scalars["Int"]>; /** A large render for this token */ largeUrl: Maybe<Scalars["String"]>; /** Content-Type as returned by the host of this media */ mimeType: Maybe<Scalars["String"]>; /** A small render for this token */ smallUrl: Maybe<Scalars["String"]>; /** A thumbnail render for this token */ thumbnailUrl: Maybe<Scalars["String"]>; /** Original file stored on Basement's cdn */ url: Maybe<Scalars["String"]>; /** Image's width, nil if this media is not an image */ width: Maybe<Scalars["Int"]>; }; export declare type Mutation = { nonFungibleTokenRefresh: Maybe<Scalars["String"]>; }; export declare type MutationNonFungibleTokenRefreshArgs = { contract: Scalars["String"]; tokenId: Scalars["String"]; }; /** Metadata of a token as defined in one of the non-fungible token EIPs */ export declare type NonFungibleToken = { /** Animation hosted on Basement CDN */ animation: Maybe<Media>; /** Token attributes */ attributes: Maybe<Array<NonFungibleTokenAttribute>>; /** Background color given to this token by the creator */ backgroundColor: Maybe<Scalars["String"]>; /** Contract where token is hosted */ contract: Scalars["String"]; /** Description given to this token by the creator */ description: Maybe<Scalars["String"]>; /** External URL given to this token by the creator */ externalUrl: Maybe<Scalars["String"]>; /** Image hosted on Basement CDN */ image: Maybe<Media>; /** Place of storage for the image file */ imageStorageType: Maybe<TokenStorageType>; /** Price this token was minted for, inferred from the ether value of the transaction containing the first known transfer */ mintPrice: Scalars["Wei"]; /** Transaction containing the first known transfer */ mintTransaction: Maybe<Transaction>; /** Name given to this token by the creator */ name: Maybe<Scalars["String"]>; /** Current owner of this token */ owner: Maybe<Address>; /** A list of previous sales for this token */ sales: Maybe<Array<NonFungibleTokenSale>>; /** Identifier of the token */ tokenId: Scalars["String"]; /** Raw metadata as returned by calling tokenUri on the token's contract */ tokenUri: Maybe<Scalars["Json"]>; /** Youtube URL given to this token by the creator */ youtubeUrl: Maybe<Scalars["String"]>; }; export declare type NonFungibleTokenAttribute = { displayType: Maybe<Scalars["String"]>; traitType: Maybe<Scalars["String"]>; value: Maybe<Scalars["String"]>; }; /** Index of the log in a transaction signaling the sale. Such as OrdersMatched or OrderFulfilled. */ export declare type NonFungibleTokenSale = TransactionEvent & { /** Currency used for this sale. When null this is the native currency */ currencyContract: Maybe<Address>; /** In the case of a batch sale, there are multiple sales in one log, this value returns the index within a given log. */ eventIndex: Scalars["Int"]; /** Index of the log in a transaction signaling the sale. Such as OrdersMatched or OrderFulfilled. */ logIndex: Scalars["Int"]; /** Maker of this sale as defined by the implementing marketplace contract */ maker: Address; /** Marketplace in which this sale occurred */ marketplace: Marketplace; /** Marketplace contract used for this sale */ marketplaceContract: Address; /** Price in wei, always check currency_contract to check whether this price is in the native currency of the chain or an erc20 equivalent */ price: Scalars["Wei"]; /** Taker of this sale as defined by the implementing marketplace contract */ taker: Address; /** Metadata for the token which was transferred due to this sale */ tokenMetadata: Maybe<NonFungibleToken>; transaction: Transaction; /** Hash signature of the transaction in which this sale occurred */ transactionHash: Scalars["String"]; }; export declare type Profile = { /** Avatar text record, as returned by the ENS resolver. */ avatar: Maybe<Scalars["String"]>; /** Email text record, as returned by the ENS resolver. */ email: Maybe<Scalars["String"]>; name: Scalars["String"]; /** Returns any text record stored in ENS with the given key. */ text: Maybe<Scalars["String"]>; }; export declare type ProfileTextArgs = { key: Scalars["String"]; }; export declare type Query = { address: Maybe<Address>; erc20Balances: Array<Erc20Balance>; erc20Transfers: Erc20TransferPage; erc721Transfers: Erc721TransferPage; token: Maybe<NonFungibleToken>; tokens: TokensPage; /** Query a transaction */ transaction: Maybe<Transaction>; transactionLogs: Maybe<TransactionLogPage>; transactions: Maybe<TransactionPage>; transfers: Maybe<TransferPage>; }; export declare type QueryAddressArgs = { address: Scalars["String"]; }; export declare type QueryErc20BalancesArgs = { filter: Erc20BalancesFilter; }; export declare type QueryErc20TransfersArgs = { after: InputMaybe<Scalars["Cursor"]>; before: InputMaybe<Scalars["Cursor"]>; filter: InputMaybe<Erc20TransfersFilter>; limit: InputMaybe<Scalars["Int"]>; }; export declare type QueryErc721TransfersArgs = { after: InputMaybe<Scalars["Cursor"]>; before: InputMaybe<Scalars["Cursor"]>; filter: InputMaybe<TransfersFilter>; limit: InputMaybe<Scalars["Int"]>; }; export declare type QueryTokenArgs = { contract: Scalars["String"]; tokenId: Scalars["String"]; }; export declare type QueryTokensArgs = { after: InputMaybe<Scalars["Cursor"]>; before: InputMaybe<Scalars["Cursor"]>; filter: InputMaybe<TokensFilter>; limit: InputMaybe<Scalars["Int"]>; }; export declare type QueryTransactionArgs = { hash: Scalars["String"]; }; export declare type QueryTransactionLogsArgs = { after: InputMaybe<Scalars["Cursor"]>; before: InputMaybe<Scalars["Cursor"]>; filter: InputMaybe<TransactionLogFilter>; limit: InputMaybe<Scalars["Int"]>; reversed: InputMaybe<Scalars["Boolean"]>; }; export declare type QueryTransactionsArgs = { after: InputMaybe<Scalars["Cursor"]>; before: InputMaybe<Scalars["Cursor"]>; filter: InputMaybe<TransactionFilter>; limit: InputMaybe<Scalars["Int"]>; reversed: InputMaybe<Scalars["Boolean"]>; }; export declare type QueryTransfersArgs = { after: InputMaybe<Scalars["Cursor"]>; before: InputMaybe<Scalars["Cursor"]>; filter: InputMaybe<TransfersInterfaceFilter>; limit: InputMaybe<Scalars["Int"]>; }; export declare enum TokenStorageType { /** Stored on IPFS */ Arweave = "ARWEAVE", /** Stored on IPFS */ Ipfs = "IPFS", /** Stored in a data-uri */ OnChain = "ON_CHAIN", /** Stored on the creator's server */ Server = "SERVER" } export declare type TokensFilter = { /** A list of addresses who own the returned tokens. */ ownerAddresses: InputMaybe<Array<Scalars["String"]>>; }; export declare type TokensPage = { /** Cursors for use in Pagination */ cursors: Cursors; /** List of tokens within this page, use the `after` cursor to fetch more tokens */ tokens: Array<NonFungibleToken>; /** Total amount of items within the given filters. Capped at 10000 for performance reasons */ totalCount: Scalars["Int"]; }; /** A transaction executed and stored on the blockchain */ export declare type Transaction = { /** Block Number in which this transaction was included */ blockNumber: Scalars["Int"]; /** UTC time at which this block was mined */ blockTimestamp: Scalars["DateTime"]; /** Gas price with which the transaction was executed by the miner in wei */ effectiveGasPrice: Scalars["Wei"]; /** Indexed transaction events. See implementations of `TransactionEvent` for possible results, */ events: Array<TransactionEvent>; /** Address which initiated this transaction */ from: Address; /** Maximum amount of gas for which the address allowed the miner to execute */ gas: Scalars["Int"]; /** Amount of eth paid to execute this transaction, in wei */ gasPaid: Scalars["Wei"]; /** Gas price with which the transaction was sent by the address in wei */ gasPrice: Scalars["Wei"]; /** Gas used after execution by the miner */ gasUsed: Scalars["Int"]; /** Signature hash for this transaction */ hash: Scalars["String"]; /** Unique identifier within transactions in Basement. Can be useful for caching in for example Apollo Client. */ id: Scalars["ID"]; /** Position of this transaction within a block */ index: Scalars["Int"]; /** Complete calldata sent with this transaction */ input: Maybe<Scalars["String"]>; /** Logs emitted while executing this transaction */ logs: Array<TransactionLog>; /** First 4 bytes of the input, which refer to the function signature of the contract */ methodId: Maybe<Scalars["String"]>; parsedInput: Maybe<Scalars["Json"]>; /** Whether execution on this transaction succeeded */ status: Scalars["Boolean"]; /** Address to which this transaction was sent. This can be another wallet, a contract, or nil in the case of a contract creation. */ to: Maybe<Address>; /** Number of eth sent with the transaction in wei */ value: Scalars["Wei"]; }; /** A transaction executed and stored on the blockchain */ export declare type TransactionParsedInputArgs = { abi: Scalars["String"]; }; /** An interface implemented by events within a transaction that were indexed in our graph */ export declare type TransactionEvent = { /** Hash signature of the transaction in which this sale occurred */ transactionHash: Scalars["String"]; }; export declare type TransactionFilter = { /** A list of block numbers to include transactions from */ blockNumbers: InputMaybe<Array<Scalars["Int"]>>; /** A list of addresses who initiated transactions. Ignored when empty. */ fromAddresses: InputMaybe<Array<Scalars["EnsAddress"]>>; /** A list of methodIds as specified in the first 4 bytes of calldata. Note: this field is not verified to be a valid call. Addresses may send transactions with arbitrary data. */ methodIds: InputMaybe<Array<Scalars["String"]>>; /** A list of addresses to whom a transaction was sent. Add `nil` to include contract creation transactions. Ignored when empty. */ toAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; }; export declare type TransactionLog = { /** Address of the contract which emitted this log */ address: Address; /** Block hash in which this log was included */ blockHash: Maybe<Scalars["String"]>; /** Block number in which this log was included */ blockNumber: Scalars["Int"]; /** Hex encoded data included in the log. */ data: Scalars["String"]; /** Position of this log within the block */ logIndex: Scalars["Int"]; parsedData: Maybe<Scalars["Json"]>; /** Whether this log was removed during a block reorg */ removed: Scalars["Boolean"]; /** List of hex encoded topics, as indexed by this log event */ topics: Array<Scalars["String"]>; /** The transaction during which this log was emitted */ transaction: Transaction; /** Hash signature of the transaction during which this log was emitted */ transactionHash: Scalars["String"]; }; export declare type TransactionLogParsedDataArgs = { abi: Scalars["String"]; }; export declare type TransactionLogFilter = { /** A list of contract addresses from which this log was emitted. Ignored when empty. */ addresses: InputMaybe<Array<Scalars["EnsAddress"]>>; /** A list of block hashes to include transaction logs from. Cannot be used in combination with `blockNumbers` or `fromBlock/toBlock` */ blockHashes: InputMaybe<Array<Scalars["String"]>>; /** A list of block numbers to include transaction logs from. Cannot be used in combination with `toBlock` and `fromBlock`. */ blockNumbers: InputMaybe<Array<Scalars["Int"]>>; /** A lower bound on the block range to include logs from. Cannot be used in combination with `blockNumbers`. */ fromBlock: InputMaybe<Scalars["Int"]>; /** Whether to include logs which were removed during a block reorg, defaults to false. */ includeRemoved: InputMaybe<Scalars["Boolean"]>; /** An upper bound on the block range to include logs from. Cannot be used in combination with `blockNumbers`. */ toBlock: InputMaybe<Scalars["Int"]>; /** * A list of topics to search for. * * ## Formatting * - Hex encoded: "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" * - Address: "0xC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2" * - ENS address: "gotu.eth" * - Signature: "Transfer(address,address,uint256)" * * ## Filtering * Topics filter is a list of lists, similar to eth_getLogs. When a second, third or fourth topic has been specified, the first topic must be specified for performance reasons. * - `[[]]`: Any topic in the first position * - `[["Transfer(address,address,uint256)"], [], []]`: Must match the first topic, any topic in the second and third position, these cannot be null.` * - `[["Transfer(address,address,uint256)"], [], ["gotu.eth", "vitalik.eth"]]`: Must match the first topic, any topic in the second position, must match any of the addresses in the third position.` */ topics: InputMaybe<Array<Array<Scalars["LogTopic"]>>>; /** Filter on the transactions in which a log was emitted. */ transaction: InputMaybe<TransactionLogTransactionFilter>; }; export declare type TransactionLogPage = { /** Cursors for use in Pagination */ cursors: Cursors; /** Total amount of items within the given filters. Capped at 10000 for performance reasons. */ totalCount: Scalars["Int"]; /** List of transaction logs within this page, use the `after` cursor to fetch more tokens */ transactionLogs: Array<TransactionLog>; }; export declare type TransactionLogTransactionFilter = { /** A list of addresses who initiated the transaction this log was emitted from. Ignored when empty. */ fromAddresses: InputMaybe<Array<Scalars["EnsAddress"]>>; /** A list of addresses to whom a transaction which emitted this log was sent. Add `nil` to include contract creation transactions. Ignored when empty. */ toAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; }; export declare type TransactionPage = { /** Cursors for use in Pagination */ cursors: Cursors; /** Total amount of items within the given filters. Capped at 10000 for performance reasons. */ totalCount: Scalars["Int"]; /** List of transactions within this page, use the `after` cursor to fetch more tokens */ transactions: Array<Transaction>; }; export declare type Transfer = { /** Block Number in which this transaction was included */ blockNumber: Scalars["Int"]; from: Address; /** Position of the log within a block in which this transfer was logged */ logIndex: Maybe<Scalars["Int"]>; to: Maybe<Address>; /** Hash signature of the transaction in which this transfer did occur */ transactionHash: Scalars["String"]; }; export declare type TransferPage = { /** Cursors for use in Pagination */ cursors: Cursors; /** Total amount of items within the given filters. Capped at 10000 for performance reasons. */ totalCount: Scalars["Int"]; /** List of transfers within this page, use the `after` cursor to fetch more tokens */ transfers: Array<Transfer>; }; export declare type TransfersFilter = { /** A list of block hashes to include erc721 transfers from. Cannot be used in combination with `blockNumbers` or `fromBlock/toBlock` */ blockHashes: InputMaybe<Array<Scalars["String"]>>; /** A list of block numbers to include transfers from */ blockNumbers: InputMaybe<Array<Scalars["Int"]>>; /** A contract to include transfers from. */ contractAddresses: InputMaybe<Array<InputMaybe<Scalars["String"]>>>; /** Categories to exclude transfers from */ exclude: InputMaybe<Array<ExcludeTransferFilter>>; /** A list of addresses who received the NFT. Ignored when empty. */ fromAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; /** A lower bound on the block range to include erc721 transfers from. Cannot be used in combination with `blockNumbers`. */ fromBlock: InputMaybe<Scalars["Int"]>; /** A list of addresses who received the NFT. */ toAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; /** An upper bound on the block range to include erc721 transfers from. Cannot be used in combination with `blockNumbers`. */ toBlock: InputMaybe<Scalars["Int"]>; /** Token ids to include transfers from */ tokenIds: InputMaybe<Array<InputMaybe<Scalars["String"]>>>; }; export declare type TransfersInterfaceFilter = { /** A list of block numbers to include transfers from */ blockNumbers: InputMaybe<Array<Scalars["Int"]>>; /** A list of addresses who received the asset. Ignored when empty. */ fromAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; /** A list of addresses who received the NFT. */ toAddresses: InputMaybe<Array<InputMaybe<Scalars["EnsAddress"]>>>; }; export declare const GlobalKeysFragmentDoc: import("graphql").DocumentNode; export declare const TransactionInfoFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenMintInfoFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenSaleInfoBaseFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenSalesInfoFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleErc721TransferSaleInfoFragmentDoc: import("graphql").DocumentNode; export declare const OwnerInfoFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenOwnerInfoFragmentDoc: import("graphql").DocumentNode; export declare const MediaInfoFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenMediaInfoFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenInfoFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenAttributesFragmentDoc: import("graphql").DocumentNode; export declare const NonFungibleTokenRefreshDocument: import("graphql").DocumentNode; export declare const AddressDocument: import("graphql").DocumentNode; export declare const TokenDocument: import("graphql").DocumentNode; export declare const TokensDocument: import("graphql").DocumentNode; export declare const TransactionDocument: import("graphql").DocumentNode; export declare const TransactionsDocument: import("graphql").DocumentNode; export declare const TransactionLogsDocument: import("graphql").DocumentNode; export declare const Erc721TransfersDocument: import("graphql").DocumentNode; export declare const Erc20TransfersDocument: import("graphql").DocumentNode; export declare const Erc20BalancesDocument: import("graphql").DocumentNode; export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>; export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): { nonFungibleTokenRefresh(variables: NonFungibleTokenRefreshMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<NonFungibleTokenRefreshMutation>; address(variables: AddressQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddressQuery>; token(variables: TokenQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<TokenQuery>; tokens(variables?: TokensQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<TokensQuery>; transaction(variables: TransactionQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<TransactionQuery>; transactions(variables?: TransactionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<TransactionsQuery>; transactionLogs(variables?: TransactionLogsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<TransactionLogsQuery>; erc721Transfers(variables?: Erc721TransfersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<Erc721TransfersQuery>; erc20Transfers(variables?: Erc20TransfersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<Erc20TransfersQuery>; erc20Balances(variables: Erc20BalancesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<Erc20BalancesQuery>; }; export declare type Sdk = ReturnType<typeof getSdk>; export declare type NonFungibleTokenRefreshMutationVariables = Exact<{ contract: Scalars["String"]; tokenId: Scalars["String"]; }>; export declare type NonFungibleTokenRefreshMutation = { nonFungibleTokenRefresh: string | null; }; export declare type AddressQueryVariables = Exact<{ address: Scalars["String"]; tokensLimit?: InputMaybe<Scalars["Int"]>; includeProfile?: InputMaybe<Scalars["Boolean"]>; includeReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTokens?: InputMaybe<Scalars["Boolean"]>; includeTokenUri?: InputMaybe<Scalars["Boolean"]>; includeTokenAttributes?: InputMaybe<Scalars["Boolean"]>; includeTokenMint?: InputMaybe<Scalars["Boolean"]>; includeTokenMedia?: InputMaybe<Scalars["Boolean"]>; includeTransactionLogs?: InputMaybe<Scalars["Boolean"]>; includeTokenSales?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesMaker?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesTaker?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesMakerReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesTakerReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTransactionRecipient?: InputMaybe<Scalars["Boolean"]>; includeTransactionSender?: InputMaybe<Scalars["Boolean"]>; includeTransactionEvents?: InputMaybe<Scalars["Boolean"]>; }>; export declare type AddressQuery = { address: { address: any; profile?: { name: string; avatar: string | null; } | null; reverseProfile?: { name: string; avatar: string | null; } | null; tokens?: Array<{ tokenUri?: any | null; contract: string; description: string | null; name: string | null; tokenId: string; externalUrl: string | null; imageStorageType: TokenStorageType | null; backgroundColor: string | null; youtubeUrl: string | null; mintPrice: any; sales?: Array<{ eventIndex: number; logIndex: number; marketplace: Marketplace; price: any; maker?: { address: any; reverseProfile?: { name: string; avatar: string | null; } | null; }; taker?: { address: any; reverseProfile?: { name: string; avatar: string | null; } | null; }; currencyContract: { address: any; } | null; marketplaceContract: { address: any; }; }> | null; attributes: Array<{ displayType: string | null; traitType: string | null; value: string | null; }> | null; animation: { blurhash: string | null; checksum: string; height: number | null; width: number | null; url: string | null; smallUrl: string | null; thumbnailUrl: string | null; largeUrl: string | null; mimeType: string | null; } | null; image: { blurhash: string | null; checksum: string; height: number | null; width: number | null; url: string | null; smallUrl: string | null; thumbnailUrl: string | null; largeUrl: string | null; mimeType: string | null; } | null; mintTransaction: { blockNumber: number; blockTimestamp: any; effectiveGasPrice: any; gas: number; gasPaid: any; gasUsed: number; gasPrice: any; hash: string; id: string; index: number; input: string | null; value: any; methodId: string | null; status: boolean; events?: Array<{ transactionHash: string; } | { transactionHash: string; } | { transactionHash: string; }>; from?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; }; to?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; } | null; logs?: Array<{ data: string; logIndex: number; removed: boolean; topics: Array<string>; }>; } | null; }> | null; } | null; }; export declare type TokenQueryVariables = Exact<{ contract: Scalars["String"]; tokenId: Scalars["String"]; includeOwner?: InputMaybe<Scalars["Boolean"]>; includeOwnerProfile?: InputMaybe<Scalars["Boolean"]>; includeOwnerReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTokenUri?: InputMaybe<Scalars["Boolean"]>; includeTokenAttributes?: InputMaybe<Scalars["Boolean"]>; includeTokenMint?: InputMaybe<Scalars["Boolean"]>; includeTokenMedia?: InputMaybe<Scalars["Boolean"]>; includeTokenSales?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesMaker?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesTaker?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesMakerReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesTakerReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTransactionLogs?: InputMaybe<Scalars["Boolean"]>; includeTransactionRecipient?: InputMaybe<Scalars["Boolean"]>; includeTransactionSender?: InputMaybe<Scalars["Boolean"]>; includeTransactionEvents?: InputMaybe<Scalars["Boolean"]>; }>; export declare type TokenQuery = { token: { tokenUri?: any | null; contract: string; description: string | null; name: string | null; tokenId: string; externalUrl: string | null; imageStorageType: TokenStorageType | null; backgroundColor: string | null; youtubeUrl: string | null; mintPrice: any; sales?: Array<{ eventIndex: number; logIndex: number; marketplace: Marketplace; price: any; maker?: { address: any; reverseProfile?: { name: string; avatar: string | null; } | null; }; taker?: { address: any; reverseProfile?: { name: string; avatar: string | null; } | null; }; currencyContract: { address: any; } | null; marketplaceContract: { address: any; }; }> | null; attributes: Array<{ displayType: string | null; traitType: string | null; value: string | null; }> | null; owner: { address: any; profile?: { name: string; avatar: string | null; } | null; reverseProfile?: { name: string; avatar: string | null; } | null; } | null; animation: { blurhash: string | null; checksum: string; height: number | null; width: number | null; url: string | null; smallUrl: string | null; thumbnailUrl: string | null; largeUrl: string | null; mimeType: string | null; } | null; image: { blurhash: string | null; checksum: string; height: number | null; width: number | null; url: string | null; smallUrl: string | null; thumbnailUrl: string | null; largeUrl: string | null; mimeType: string | null; } | null; mintTransaction: { blockNumber: number; blockTimestamp: any; effectiveGasPrice: any; gas: number; gasPaid: any; gasUsed: number; gasPrice: any; hash: string; id: string; index: number; input: string | null; value: any; methodId: string | null; status: boolean; events?: Array<{ transactionHash: string; } | { transactionHash: string; } | { transactionHash: string; }>; from?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; }; to?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; } | null; logs?: Array<{ data: string; logIndex: number; removed: boolean; topics: Array<string>; }>; } | null; } | null; }; export declare type TokensQueryVariables = Exact<{ filter: InputMaybe<TokensFilter>; limit?: InputMaybe<Scalars["Int"]>; before: InputMaybe<Scalars["Cursor"]>; after: InputMaybe<Scalars["Cursor"]>; includeTotalCount?: InputMaybe<Scalars["Boolean"]>; includeOwner?: InputMaybe<Scalars["Boolean"]>; includeOwnerProfile?: InputMaybe<Scalars["Boolean"]>; includeOwnerReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTokenUri?: InputMaybe<Scalars["Boolean"]>; includeTokenAttributes?: InputMaybe<Scalars["Boolean"]>; includeTokenMint?: InputMaybe<Scalars["Boolean"]>; includeTokenMedia?: InputMaybe<Scalars["Boolean"]>; includeTransactionLogs?: InputMaybe<Scalars["Boolean"]>; includeTransactionSender?: InputMaybe<Scalars["Boolean"]>; includeTransactionRecipient?: InputMaybe<Scalars["Boolean"]>; includeTransactionEvents?: InputMaybe<Scalars["Boolean"]>; includeTokenSales?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesMaker?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesTaker?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesMakerReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTokenSalesTakerReverseProfile?: InputMaybe<Scalars["Boolean"]>; }>; export declare type TokensQuery = { tokens: { totalCount?: number; cursors: { before: string | null; after: string | null; }; tokens: Array<{ tokenUri?: any | null; contract: string; description: string | null; name: string | null; tokenId: string; externalUrl: string | null; imageStorageType: TokenStorageType | null; backgroundColor: string | null; youtubeUrl: string | null; mintPrice: any; sales?: Array<{ eventIndex: number; logIndex: number; marketplace: Marketplace; price: any; maker?: { address: any; reverseProfile?: { name: string; avatar: string | null; } | null; }; taker?: { address: any; reverseProfile?: { name: string; avatar: string | null; } | null; }; currencyContract: { address: any; } | null; marketplaceContract: { address: any; }; }> | null; attributes: Array<{ displayType: string | null; traitType: string | null; value: string | null; }> | null; owner: { address: any; profile?: { name: string; avatar: string | null; } | null; reverseProfile?: { name: string; avatar: string | null; } | null; } | null; animation: { blurhash: string | null; checksum: string; height: number | null; width: number | null; url: string | null; smallUrl: string | null; thumbnailUrl: string | null; largeUrl: string | null; mimeType: string | null; } | null; image: { blurhash: string | null; checksum: string; height: number | null; width: number | null; url: string | null; smallUrl: string | null; thumbnailUrl: string | null; largeUrl: string | null; mimeType: string | null; } | null; mintTransaction: { blockNumber: number; blockTimestamp: any; effectiveGasPrice: any; gas: number; gasPaid: any; gasUsed: number; gasPrice: any; hash: string; id: string; index: number; input: string | null; value: any; methodId: string | null; status: boolean; events?: Array<{ transactionHash: string; } | { transactionHash: string; } | { transactionHash: string; }>; from?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; }; to?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; } | null; logs?: Array<{ data: string; logIndex: number; removed: boolean; topics: Array<string>; }>; } | null; }>; }; }; export declare type TransactionQueryVariables = Exact<{ hash: Scalars["String"]; includeTransactionLogs?: InputMaybe<Scalars["Boolean"]>; includeTransactionRecipient?: InputMaybe<Scalars["Boolean"]>; includeTransactionEvents?: InputMaybe<Scalars["Boolean"]>; includeTransactionSender?: InputMaybe<Scalars["Boolean"]>; }>; export declare type TransactionQuery = { transaction: { blockNumber: number; blockTimestamp: any; effectiveGasPrice: any; gas: number; gasPaid: any; gasUsed: number; gasPrice: any; hash: string; id: string; index: number; input: string | null; value: any; methodId: string | null; status: boolean; events?: Array<{ transactionHash: string; } | { transactionHash: string; } | { transactionHash: string; }>; from?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; }; to?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; } | null; logs?: Array<{ data: string; logIndex: number; removed: boolean; topics: Array<string>; }>; } | null; }; export declare type TransactionsQueryVariables = Exact<{ filter: InputMaybe<TransactionFilter>; before: InputMaybe<Scalars["Cursor"]>; after: InputMaybe<Scalars["Cursor"]>; limit?: InputMaybe<Scalars["Int"]>; reversed?: InputMaybe<Scalars["Boolean"]>; includeTotalCount?: InputMaybe<Scalars["Boolean"]>; includeTransactionRecipient?: InputMaybe<Scalars["Boolean"]>; includeTransactionSender?: InputMaybe<Scalars["Boolean"]>; includeTransactionEvents?: InputMaybe<Scalars["Boolean"]>; includeTransactionLogs?: InputMaybe<Scalars["Boolean"]>; }>; export declare type TransactionsQuery = { transactions: { totalCount?: number; cursors: { before: string | null; after: string | null; }; transactions: Array<{ blockNumber: number; blockTimestamp: any; effectiveGasPrice: any; gas: number; gasPaid: any; gasUsed: number; gasPrice: any; hash: string; id: string; index: number; input: string | null; value: any; methodId: string | null; status: boolean; events?: Array<{ transactionHash: string; } | { transactionHash: string; } | { transactionHash: string; }>; from?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; }; to?: { address: any; reverseProfile: { name: string; avatar: string | null; } | null; } | null; logs?: Array<{ data: string; logIndex: number; removed: boolean; topics: Array<string>; }>; }>; } | null; }; export declare type TransactionLogsQueryVariables = Exact<{ before: InputMaybe<Scalars["Cursor"]>; after: InputMaybe<Scalars["Cursor"]>; includeTotalCount?: InputMaybe<Scalars["Boolean"]>; filter: InputMaybe<TransactionLogFilter>; limit?: InputMaybe<Scalars["Int"]>; reversed?: InputMaybe<Scalars["Boolean"]>; includeBlockHash?: InputMaybe<Scalars["Boolean"]>; includeTransactionRecipient?: InputMaybe<Scalars["Boolean"]>; includeTransactionSender?: InputMaybe<Scalars["Boolean"]>; includeTransactionLogs?: InputMaybe<Scalars["Boolean"]>; includeTransactionEvents?: InputMaybe<Scalars["Boolean"]>; includeContractReverseProfile?: InputMaybe<Scalars["Boolean"]>; includeTransaction?: InputMaybe<Scalars["Boolean"]>; }>; export declare type TransactionLogsQuery = { transactionLogs: { totalCount?: number; cursors: { before: string | null; after: string | null; }; transactionLogs: Array<{ blockHash?: string | null; data: string; logIndex: number; remove