Create Wallet

This creates a wallet using this method. The weightage for this API is 10

API Specification

Create Wallet

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

Creates a new wallet under the given instance.

Headers

NameTypeDescription

Authorization*

String

User Auth Key obtained

Instanceid*

String

Core Service Instance ID

Request Body

NameTypeDescription

name*

String

Name of the wallet

algorithm*

String

Algorithm Name to be used

{
  "Data": {
    "CreatedAt": "2023-07-18T11:41:53.218157036Z",
    "Id": "000000000000000000000000",
    "LastUsed": "0001-01-01T00:00:00Z",
    "address": "xxxxxxxxxxx",
    "algorithm": "ECC_SECG_P256K1",
    "instanceId": "xxxxxxxxxx",
    "region": "ap-south-1",
    "serviceApiKey": "xxxxxxxxxx",
    "uniqueId": "xxxxxxxx",
    "vault": "aws",
    "walletName": "wallet10"
  },
  "Message": "Wallet created successfully",
  "Status": "SUCCESS"
}

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

curl --location -g --request POST 'https:/api.krypcore.com/api/v0/wallet/createWallet' \
--header 'Authorization: xxxxxxxxxxxxx' \
--header 'Instanceid: xxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "sep",
    "algorithm": "secp256k1"
}'

Last updated