diff --git a/src/svm/web3-v2/solanaProgramUtils.ts b/src/svm/web3-v2/solanaProgramUtils.ts index 5640e70f1..1281c7de8 100644 --- a/src/svm/web3-v2/solanaProgramUtils.ts +++ b/src/svm/web3-v2/solanaProgramUtils.ts @@ -6,23 +6,13 @@ import web3, { GetTransactionApi, RpcTransport, Signature, - Slot, - TransactionError, - UnixTimestamp, } from "@solana/web3-v2.js"; type GetTransactionReturnType = ReturnType; type GetSignaturesForAddressConfig = Parameters[1]; -type GetSignaturesForAddressTransaction = { - blockTime: UnixTimestamp | null; - confirmationStatus: Commitment | null; - err: TransactionError | null; - memo: string | null; - signature: Signature; - slot: Slot; -}; +type GetSignaturesForAddressTransaction = ReturnType[number]; /** * Reads all events for a specific program.