Allows adding a Cardano Cli Key pair and saves it encrypted into the database.
URL: /v1/cardano/key
/v1/cardano/key
Method: POST
POST
Path Parameters: None
Query Parameters: None
Headers:
Authorization: Bearer {accessToken}
Content-Type: application/json
Content:
Content example:
{ "name": "My Cli Key", "vkey": { "type": "PaymentVerificationKeyShelley_ed25519", "description": "Payment Verification Key", "cborHex": "5820a1836d8838a845846c016a085061ff640704399b9f4caa3df3d502c63c2bca13" }, "skey": { "type": "PaymentSigningKeyShelley_ed25519", "description": "Payment Signing Key", "cborHex": "58203568ea1a7dbe642e839ccd6b606dbcd9047cedbf8c7ae0dd4706e3e40e10b8c7" } }
Code: 201 Accepted
201 Accepted
Content: None
Code: 401 UNAUTHORIZED
401 UNAUTHORIZED
Condition: If {accessToken} is invalid or expired.
{accessToken}
There was an error while loading. Please reload this page.