Import a key
POST /v1/key/import
POST
/v1/key/import
Import an externally generated key into the wallet. Note that if you wish to back up the imported key, you must do so by backing up the entire wallet database, because imported keys were not derived from the wallet’s master derivation key.
Authorizations
Request Body
APIV1POSTKeyImportRequest is the request for POST /v1/key/import
object
private_key
PrivateKey is an exported ed25519PrivateKey
Array<integer>
wallet_handle_token
string
Responses
200
Response to POST /v1/key/import
APIV1POSTKeyImportResponse is the response to POST /v1/key/import
friendly:ImportKeyResponse
object
address
string
error
boolean
message
string