/v1/keys endpoint should include input_fee_ppk #289
Labels
No labels
breaking change
bug
documentation
enhancement
needs discussion
needs implementation
new nut
ready
wallet-only
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo-admin/nuts#289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In #182, I raised a related point that the
/v1/keysendpoint should ideally return ALL keyset fields required for active wallet operations.This allows a consumer to call just ONE endpoint and get data needed for active wallet ops - fees, expiry, keys etc etc
That way, the
/v1/keysetsendpoint can just be called when non-operational, historic or inactive keyset metadata is required.@callebtc made the comment:
I agree in principle - if there was a lot of incidental metadata - but in the v1 API, both are practically identical:
activeis implied in /v1/keys - as only active keysets are returned.Which means the only "missing" metadata is
input_fee_ppk, which is vital to wallet operations.It seems sub-optimal to make a consumer lookup two endpoints just to get the keyset fee, which is as as vital to wallet ops as
final_expiry.I agree👍
#325 will close this issue