Create Wallet
This creates a wallet using this method.
API Specification
Create Wallet
POST
http://localhost:8889/wallet/createWallet
Creates a new wallet under the given instance.
Request Body
Name
Type
Description
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"
}
}
Request Body
Name
Type
Description
name*
String
VW89xy17qNjQ
algorithm*
String
G1aoelP8VxPG
Take a look at how you might call this method using our official libraries, or via curl
:
curl -X POST http://localhost:8889/wallet/createWallet \
-H "Content-Type: application/json" \
-d '{
"name": "wallet2",
"algorithm": "secp256k1"
}'
Last updated
Was this helpful?