Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich GetVirtualChainFromPath and GetBlocks by returning full TX info #615

Open
coderofstuff opened this issue Dec 19, 2024 · 0 comments
Open

Comments

@coderofstuff
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Integrators are asking for a way to easily access some info about the transactions returned by these RPC calls. Some use cases include:

  1. Calculating the actual fees paid by a TX - can be derived if the input contained the amounts
  2. Figuring out the "source address" of utxos - can be derived if the input contained the SPK

Describe the solution you'd like
Adding a new flag that can be set for each of the RPC APIs above. If the flag is set, then also include the full transaction data with the full UTXO data in inputs (not just txid and index).

Describe alternatives you've considered
Tracking the transactions manually or using api.kaspa.org - these are infeasible and rely on external data sources when the data is well within the node anyway (before it's pruned).

Additional context
N/A

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

No branches or pull requests

1 participant