Update Wallet API key

This will allow to Update Wallet API key The weightage for this API is 12

API Specification

Update Wallet API key

POST https://api.krypcore.com/api/v0/wallet/updateApiKey

This will Update Wallet API key under the given instance.

Headers

NameTypeDescription

Authorization*

String

User Auth Key obtained from Dash

instanceId*

String

Instance ID form dashboard

Request Body

NameTypeDescription

algorithm*

string

Algorithm for wallet creation

mode*

string

Wallet API mode, default mode is "api"

name*

string

Name

Method

string

Store method

Gas

String

Value of Gas

{
  Data: {
    address: '0xe5376601b62fa8Dc2ee775b5d7C26605C797d2a8',
    algorithm: 'ECC_SECG_P256K1',
    createdAt: '2023-07-11T16:59:26.895989263Z',
    instanceId: 'INS_WA_12_2023711',
    lastUsed: '0001-01-01T00:00:00Z',
    region: 'ap-south-1',
    serviceApiKey: '3a8059d8-ab7c-4bb0-af41-b7d6ab62d40e',
    uniqueId: '70a734a9-480c-439d-80f6-dba8a8623b76',
    vault: 'aws',
    walletName: 'sample-test-1234'
  },
  Message: 'deployed sucessfully',
  Status: 'SUCCESS'
}

Take a look at how you might call this method using our official libraries, or via curl:

curl --location -g --request POST 'Krypc-API-URL' \
  --header 'Authorization: xxxxxxxxxxxxxxx' \
  --header 'Instanceid: xxxxxxxxxxxxxxx' \
  --header  'Content-Type: application/json' \
  -d '{
  "algorithm": "secp256k1",
  "cloud": "",
  "instanceId": "",
  "mode": "api",
  "name": "wallet2",
  "serviceAPIKey": "dcd96173-bd93-46ff-8d3a-a98baeb4fa87"
}'

Last updated