UNPKG

@magiceden/magiceden-sdk

Version:

A TypeScript SDK for interacting with Magic Eden's API across multiple chains.

9 lines (8 loc) 477 B
import { BaseApiClient } from '../clients/base'; import { ChainType } from '../../types'; /** * Decorator factory that creates a decorator to specify which chains support an operation * @param chains Array of chains that support this operation * @returns A method decorator that validates chain support */ export declare function supportedOn(chains: ChainType[]): (originalMethod: any, context: ClassMethodDecoratorContext) => (this: BaseApiClient, ...args: any[]) => any;