Create Key
Last updated
Last updated
POST /keys
Creates a key for the given scheme and curve. Returns a new key entity.
Keys:Create
Always Required.
Keys:Delegate
Required if delegateTo
is specified.
scheme
A supported scheme
.
String
curve
A supported curve that's compatible with the chosen scheme
.
String
name
Name given to the key.
String (optional)
delegateTo
ID of the end user to delegate this key to upon creation. The key will be non-custodial and can only be used by the end user.
String (optional)
delayDelegation
Boolean (optional)
id
ID of the key.
String
scheme
Key scheme.
String
curve
Key curve.
String
publicKey
Hex-encoded value of public key.
String
status
Status of the key, can be one of Active
, Archived
.
String
custodial
Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial).
Boolean
dateCreated
String
imported
true
if the key is imported.
Boolean (optional)
exported
true
if the key was already exported at least once.
Boolean (optional)
dateExported
String (optional)
Specify this if you want to create the key from a service account and . Defaults to false
.
date string when wallet was created.
date string when wallet was first exported.