-
Notifications
You must be signed in to change notification settings - Fork 42
Create Wallet API
David Tavarez edited this page Jun 19, 2020
·
7 revisions
Used to create a new user/wallet.
URL : /v2
Method : create_wallet
Params
- username(string): The username that will uniquely identify the wallet.
- password(string): The user's password. Since the password is transmitted as plaintext, future versions will require https.
- num_seed_words(12|15|18|21|24): The wallet seed length.
Request
{
"jsonrpc": "2.0",
"method": "create_wallet",
"id": 1,
"params": {
"username": "David",
"password": "P@ssw0rd123!",
"num_seed_words": 24
}
}
Response
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"session_token": "mFHve+/CFsPuQf1+Anp24+R1rLZCVBIyKF+fJEuxAappgT2WKMfpOiNwvRk=",
"wallet_seed": "agree muscle erase plunge grit effort provide electric social decide include whisper tunnel dizzy bean tumble play robot fire verify program solid weasel nuclear",
"listener_port": 1100,
"tor_address": ""
}
}