Create Wallet

This creates a wallet using this method.

API Specification

Create Wallet

POST http://localhost:8888/wallet/createWallet

Creates a new wallet under the given instance.

Request Body

NameTypeDescription

name*

String

Name of the wallet

algorithm*

String

Algorithm Name to be used

{
  "Status": "SUCCESS",
  "Message": "wallet created successfully",
  "Data": {
    "WalletId": "20775f3e-8be1-4e4c-8c80-xxxxxxxxxxx",
    "Address": "0x688c17c7FF9Def682b04699C31Dxxxxxxxxxxxxx"
  }
}

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

curl -X POST http://localhost:8888/wallet/createWallet \
-H "Content-Type: application/json" \
-d '{
    "name": "wallet2",
    "algorithm": "secp256k1"
}'

Last updated