// Creates a new account, insert next deterministic key in wallet.
// If work is false, it disables work generation after creating account (>= v8.1).
// Requires enable_control.
Creates a new account, insert next deterministic key in wallet.
If work is false, it disables work generation after creating account (>= v8.1).
Requires enable_control.
// Creates a new account insert next deterministic key in wallet . // If work is false it disables work generation after creating account ( > = v8 . 1 ) . // Requires enable_control .
func CreateAccount(wallet string, work bool) (string, error) {
	payload := map[string]interface{}{
		"wallet": wallet,
		"work":   work,
	}
	return client.fetchString("account_create", payload, "account")
}
func CreateAccount ( wallet string , work bool ) ( string , error ) { payload := map [ string ] interface { } { " " : wallet , " " : work , } return client . fetchString ( " " , payload , " " ) }
Creates a new account, insert next deterministic key in wallet.
Creates a new account insert next deterministic key in wallet .