Convex

Convex

FieldValue
NamesigningImportKey
TitleImport Key (Signing Service)
DescriptionImport an Ed25519 seed into the signing service. Elevated: first call returns confirmUrl for browser approval, retry with confirmToken.
Input Schema
{
  "type": "object",
  "required": ["seed",
               "passphrase"],
  "properties": {
                  "seed": {
                            "type": "string",
                            "description": "Ed25519 seed to import (64-character hex string, e.g. 0x...)"
                          },
                  "passphrase": {
                                  "type": "string",
                                  "description": "Passphrase for at-rest encryption of the imported key"
                                },
                  "confirmToken": {
                                    "type": "string",
                                    "description": "Confirmation token from browser approval (omit on first call)"
                                  }
                }
}
Output Schema
{
  "type": "object",
  "properties": {
                  "confirmUrl": {
                                  "type": "string",
                                  "description": "URL for user to visit and approve the operation"
                                },
                  "status": {
                              "type": "string",
                              "description": "confirmation_required when user approval is needed"
                            },
                  "confirmToken": {
                                    "type": "string",
                                    "description": "Token to include when retrying after approval"
                                  },
                  "publicKey": {
                                 "type": "string",
                                 "description": "Public key derived from the imported seed (returned after confirmation)"
                               }
                }
}