NUT-01: return keyset metadata #325

Merged
callebtc merged 2 commits from fix/nut01-full-response into main 2026-01-11 09:56:40 +00:00
callebtc commented 2026-01-08 06:39:47 +00:00 (Migrated from github.com)

Expose active and input_fee_ppk fields on keysets returned from /v1/keys endpoint and align the /v1/keys/{keyset_id} example accordingly.

This allows wallets to compute the keyset ID and access associated keyset metadata directly from the /keys response without requiring an additional round-trip to the /keysets endpoint.

closes #289

Expose `active` and `input_fee_ppk` fields on keysets returned from `/v1/keys` endpoint and align the `/v1/keys/{keyset_id}` example accordingly. This allows wallets to compute the keyset ID and access associated keyset metadata directly from the `/keys` response without requiring an additional round-trip to the `/keysets` endpoint. closes #289 - [ ] CDK: https://github.com/cashubtc/cdk/pull/1502 - [ ] nutshell: https://github.com/cashubtc/nutshell/pull/868 - [ ] nutmix
prusnak commented 2026-01-08 08:57:49 +00:00 (Migrated from github.com)

We probably need the final_expiry field too, right?

We probably need the `final_expiry` field too, right?
callebtc commented 2026-01-08 10:44:41 +00:00 (Migrated from github.com)

We probably need the final_expiry field too, right?

yes, that would have to wait for or be merged into the keyset v2 PR

> We probably need the `final_expiry` field too, right? yes, that would have to wait for or be merged into the keyset v2 PR
thesimplekid (Migrated from github.com) approved these changes 2026-01-08 13:28:18 +00:00
thesimplekid (Migrated from github.com) left a comment
ACK b48eeb81dc5147d0236f0a90ba8502f677c1188a
robwoodgate commented 2026-01-09 12:17:03 +00:00 (Migrated from github.com)

Will resolve issue: #289

Will resolve issue: #289
robwoodgate (Migrated from github.com) approved these changes 2026-01-09 12:17:53 +00:00
robwoodgate (Migrated from github.com) left a comment

ACK @ b48eeb81dc

ACK @ b48eeb81dc5147d0236f0a90ba8502f677c1188a
prusnak (Migrated from github.com) approved these changes 2026-01-09 12:27:05 +00:00
Sign in to join this conversation.
No description provided.