diff --git a/src/blockchains/ethereum/v1.ts b/src/blockchains/ethereum/v1.ts index dcbc1ee..90df5e7 100644 --- a/src/blockchains/ethereum/v1.ts +++ b/src/blockchains/ethereum/v1.ts @@ -18,7 +18,7 @@ export interface CollectionQueryEthereumParams { collectionId: number; } -export interface TokensMintedQueryParams extends CollectionQueryEthereumParams { +export interface TokensMintedQueryEthereumParamsV1 extends CollectionQueryEthereumParams { address: string; } export interface SetStatusParamsEthereumV1 extends CollectionTransactionEthereumParams { @@ -288,7 +288,7 @@ export class EthereumCollectionV1 implements CollectionContract { error: null, }; } - async getTokensMinted(params: TokensMintedQueryParams): Promise< + async getTokensMinted(params: TokensMintedQueryEthereumParamsV1): Promise< QueryResponse<{ tokensMinted: { allowlistCount: number; diff --git a/src/blockchains/index.ts b/src/blockchains/index.ts index 52dbfe3..75b92b3 100644 --- a/src/blockchains/index.ts +++ b/src/blockchains/index.ts @@ -2,3 +2,4 @@ export * from "./types"; export * from "./factory"; export * from "./base/v1"; export * from "./utils"; +export * from './ethereum/v1';