From 2f19746713c733f30ece7c89b6c3cb539146c5c8 Mon Sep 17 00:00:00 2001 From: Marek Polak Date: Mon, 6 Jan 2025 14:15:15 +0100 Subject: [PATCH] fix(blockchain-link): blockfrost getAccountInfo details fallback --- packages/blockchain-link/src/workers/blockfrost/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/blockchain-link/src/workers/blockfrost/index.ts b/packages/blockchain-link/src/workers/blockfrost/index.ts index b240f472249..b6ca8ce2b58 100644 --- a/packages/blockchain-link/src/workers/blockfrost/index.ts +++ b/packages/blockchain-link/src/workers/blockfrost/index.ts @@ -91,7 +91,8 @@ const pushTransaction = async (request: Request) = const getAccountInfo = async (request: Request) => { const api = await request.connect(); - const info = await api.getAccountInfo(request.payload); + const { details = 'basic', ...rest } = request.payload; + const info = await api.getAccountInfo({ details, ...rest }); return { type: RESPONSES.GET_ACCOUNT_INFO,