Skip to content

Feature/psbtInfo#44

Merged
MManke188 merged 5 commits into
mainfrom
feature/psbtInfo
Aug 11, 2025
Merged

Feature/psbtInfo#44
MManke188 merged 5 commits into
mainfrom
feature/psbtInfo

Conversation

@MManke188
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings August 11, 2025 04:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new API endpoint to retrieve PSBT (Partially Signed Bitcoin Transaction) information, allowing clients to query details about a specific PSBT including input/output values and fee calculations.

  • Adds a new GET endpoint /v1/psbt/:id/info for retrieving PSBT information
  • Implements fee calculation logic for both service fees and network fees
  • Extracts transaction values from PSBT inputs and outputs

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
controllers/queue/index.ts Registers the new PSBT info endpoint and imports the controller
controllers/queue/getPSBTInfoController.ts Implements the PSBT info retrieval logic with fee calculations

Comment thread controllers/queue/getPSBTInfoController.ts
Comment thread controllers/queue/getPSBTInfoController.ts
Comment thread controllers/queue/getPSBTInfoController.ts
Comment thread controllers/queue/getPSBTInfoController.ts
@MManke188 MManke188 merged commit f18da5d into main Aug 11, 2025
2 checks passed
@MManke188 MManke188 deleted the feature/psbtInfo branch August 11, 2025 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants