Single-call key generation
POST /api/v1/keys/generate returns spending and viewing keypairs plus a meta-address.Use output in next steps
Feed
meta_address into the stealth create endpoint.Endpoint
POST /api/v1/keys/generate
No request body is required.
Typical flow
Example calls
- cURL
- JavaScript
Response schema
Hex-encoded spending public key.
Hex-encoded spending secret key (sensitive).
Hex-encoded viewing public key.
Hex-encoded viewing secret key (sensitive).
Hex-encoded SPECTER meta-address combining spending + viewing public keys.
Base view tag derived from viewing public key bytes.
How `view_tag` is computed here
How `view_tag` is computed here
The endpoint computes
view_tag from the viewing public key bytes (compute_view_tag(viewing.public.as_bytes())).What this endpoint does not do
What this endpoint does not do
It does not persist key material to disk and does not register ENS/SuiNS records.
