| 4 | |
| 5 | |
| 6 | interface Blockhash { |
| 7 | blockhash: string; |
| 8 | lastValidBlockHeight: number; |
| 9 | } |
| 10 | |
| 11 | export const execute = async (transaction: VersionedTransaction, latestBlockhash: Blockhash, isBuy: boolean = true) => { |
| 12 | const solanaConnection = new Connection(RPC_ENDPOINT, { |
nothing calls this directly
no outgoing calls
no test coverage detected