UNPKG

@xoxno/sdk-js

Version:

The SDK to interact with the XOXNO Protocol!

8 lines (7 loc) 502 B
export declare function collectionGuard<T>(collection: string, callback: Promise<T>): Promise<T>; export declare function addressGuard<T>(address: string, callback: Promise<T>): Promise<T>; export declare function nftGuard<T>(identifier: string, callback: Promise<T>): Promise<T>; export declare function collectionGuardOnly(collection: string): Promise<void>; export declare function paginatedGuard<T extends { top?: number; }, R>(filter: T, callback: (filter: string) => Promise<R>): Promise<R>;