UNPKG

@cks-systems/manifest-sdk

Version:
24 lines (23 loc) 596 B
import { Connection } from '@solana/web3.js'; /** * FillFeed example implementation. */ export declare class FillFeed { private connection; private wss; private shouldEnd; private ended; private lastUpdateUnix; constructor(connection: Connection); msSinceLastUpdate(): number; stopParseLogs(): Promise<void>; /** * Parse logs in an endless loop. */ parseLogs(endEarly?: boolean): Promise<void>; /** * Handle a signature by fetching the tx onchain and possibly sending a fill * notification. */ private handleSignature; }