creates the next account and returns its account number. The name must be unique to the account. In order to support automatic seed restoring, new accounts may not be created when all of the previous 100 accounts have no transaction history (this is a deviation from the BIP0044 spec, which allows no unused account gaps).
name: (string)
account namenull
-32000 -13
Creating an account requires the wallet to be unlocked. Enter the wallet passphrase with walletpassphrase to unlock
curl -k -u "test:test" -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"1.0","method":"wallet_createAccount","params":["test_account"],"id":1}' http://127.0.0.1:8130/api
{"jsonrpc":"2.0","id":1,"result":null}
© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License