Skip to content

Commit

Permalink
fix(blockchain-link): blockfrost getAccountInfo details fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
marekrjpolak committed Jan 6, 2025
1 parent 3bd6221 commit 2f19746
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/blockchain-link/src/workers/blockfrost/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ const pushTransaction = async (request: Request<MessageTypes.PushTransaction>) =

const getAccountInfo = async (request: Request<MessageTypes.GetAccountInfo>) => {
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,
Expand Down

0 comments on commit 2f19746

Please sign in to comment.