From af37f2d13eac389aa67dd29d7d88742dfa10b064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20Bardaj=C3=AD=20Puig?= Date: Fri, 8 Nov 2024 00:28:29 +0000 Subject: [PATCH] Export type --- src/stacks-api/transactions/mempool-transactions.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/stacks-api/transactions/mempool-transactions.ts b/src/stacks-api/transactions/mempool-transactions.ts index 3024dca..9f58128 100644 --- a/src/stacks-api/transactions/mempool-transactions.ts +++ b/src/stacks-api/transactions/mempool-transactions.ts @@ -42,11 +42,13 @@ type Args = { } & ApiRequestOptions & ApiPaginationOptions; +export type MempoolTransactionsResponse = ListResponse; + export async function mempoolTransactions( args: Args, ): Promise< SafeResult< - ListResponse, + MempoolTransactionsResponse, SafeError< "FetchMempoolTransactionsError" | "ParseBodyError" | "ValidateDataError" > @@ -95,5 +97,5 @@ export async function mempoolTransactions( }); } - return success(data as ListResponse); + return success(data as MempoolTransactionsResponse); }