PHP WebShell

Текущая директория: /var/www/bitcardoApp/node_modules/tronweb/lib/esm/lib

Просмотр файла: event.d.ts

import { TronWeb } from '../tronweb.js';
import { NodeProvider } from '../types/TronWeb.js';
import type { GetEventResultOptions, EventResponse } from '../types/Event.js';
export declare class Event {
    private tronWeb;
    constructor(tronWeb: TronWeb);
    setServer(eventServer: NodeProvider, healthcheck?: string): undefined;
    getEventsByContractAddress(contractAddress: string, options?: GetEventResultOptions): Promise<EventResponse>;
    getEventsByTransactionID(transactionID: string, options?: {
        only_unconfirmed?: boolean;
        only_confirmed?: boolean;
    }): Promise<EventResponse>;
    getEventsByBlockNumber(blockNumber: number | string, options?: {
        only_confirmed?: boolean;
        limit?: number;
        fingerprint?: string;
    }): Promise<EventResponse>;
    getEventsOfLatestBlock(options?: {
        only_confirmed?: boolean;
    }): Promise<EventResponse>;
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!