Summary
Creator metadata stored on-chain via initialise_key and update_metadata is not currently surfaced through the server API. A GET /keys/:keyId/metadata endpoint that reads the on-chain metadata fields and returns them should be added.
Scope
- Add GET /keys/:keyId/metadata endpoint (no auth required)
- Read name, bio, and avatar_uri from the on-chain persistent storage via the Soroban RPC
- Cache the response in Redis for 5 minutes and invalidate when a metadata_updated event is received
- Return 404 when no metadata has been initialised for the key
- Include the key creator address in the response
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Creator metadata stored on-chain via initialise_key and update_metadata is not currently surfaced through the server API. A GET /keys/:keyId/metadata endpoint that reads the on-chain metadata fields and returns them should be added.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram