UNPKG

soroban-hooks

Version:

Soroban smart contract watcher and transaction helper

44 lines (43 loc) 1.18 kB
export default AssetAlerts; declare class AssetAlerts { constructor(apiKey: any); apiKey: any; create({ webhook_url, assetAddress, notificationInterval, chainType }: { webhook_url: any; assetAddress: any; notificationInterval: any; chainType: any; }): Promise<{ error: boolean; response: { webhook_url: any; assetAddress: any; notificationInterval: any; chainType: any; }; message: string; } | { error: boolean; response: null; message: any; }>; getAll({ page, limit }?: { page?: number | undefined; limit?: number | undefined; }): Promise<any>; getById(id: any): Promise<any>; update({ id, webhook_url, assetAddress, notificationInterval, chainType, status }: { id: any; webhook_url: any; assetAddress: any; notificationInterval: any; chainType: any; status: any; }): Promise<{ webhook_url: any; assetAddress: any; notificationInterval: any; chainType: any; }>; delete(id: any): Promise<any>; }