soroban-hooks
Version:
Soroban smart contract watcher and transaction helper
36 lines (35 loc) • 1.03 kB
TypeScript
export default WalletBalanceAlert;
declare class WalletBalanceAlert {
constructor(apiKey: any);
apiKey: any;
create({ webhook_url, walletAddress, chainType, additionalData }: {
webhook_url: any;
walletAddress: any;
chainType: any;
additionalData?: string | undefined;
}): Promise<{
webhook_url: any;
walletAddress: any;
chainType: any;
additionalData: string;
}>;
getAll({ page, limit }?: {
page?: number | undefined;
limit?: number | undefined;
}): Promise<any>;
getById(id: any): Promise<any>;
update({ id, webhook_url, walletAddress, chainType, additionalData, status }: {
id: any;
webhook_url: any;
walletAddress: any;
chainType: any;
additionalData?: string | undefined;
status: any;
}): Promise<{
webhook_url: any;
walletAddress: any;
chainType: any;
additionalData: string;
}>;
delete(id: any): Promise<any>;
}