This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* External dependencies | |
*/ | |
import fetch from 'node-fetch'; | |
/** | |
* Helius API request/response types | |
*/ | |
type Webhook = { | |
webhookID: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
OlderNewer