UNPKG

@linenext/dapp-portal-sdk

Version:

Dapp Portal SDK

11 lines (10 loc) 508 B
import { DappPortalSDKConfig } from '../config/config'; import { EventDto } from '../dto/EventDto'; export declare class EventClient { private readonly baseUrl; private readonly clientId; constructor(config: DappPortalSDKConfig); getEvents: (bannerTiming: string) => Promise<EventDto[]>; getEventUserConnection: (eventId: string, walletAddress: string) => Promise<boolean>; setEventUserConnection: (eventId: string, connectionToken: string, walletAddress: string) => Promise<void>; }