Skip to content

Instantly share code, notes, and snippets.

/**
* External dependencies
*/
import fetch from 'node-fetch';
/**
* Helius API request/response types
*/
type Webhook = {
webhookID: string;
import { Router, Request, Response } from 'express';
import { db } from '../index.js';
import { SolanaTransaction, UnlinkedSolanaTransaction } from '../../../lib/dist/index.js';
export interface TransactionUpdatedEvent {
accountData?: AccountDatum[];
description?: string;
events?: any;
fee?: number;
feePayer?: string;