// Adds an adhoc private key key to wallet.
// Optionally disables work generation after adding account (>= v8.1).
// Requires enable_control.
Adds an adhoc private key key to wallet.
Optionally disables work generation after adding account (>= v8.1).
Requires enable_control.
// Adds an adhoc private key key to wallet . // Optionally disables work generation after adding account ( > = v8 . 1 ) . // Requires enable_control .
func WalletAdd(wallet, key string, work bool) (string, error) {
	payload := map[string]interface{}{
		"wallet": wallet,
		"key":    key,
		"work":   work,
	}
	return client.fetchString("wallet_add", payload, "key")
}
func WalletAdd ( wallet , key string , work bool ) ( string , error ) { payload := map [ string ] interface { } { " " : wallet , " " : key , " " : work , } return client . fetchString ( " " , payload , " " ) }
Adds an adhoc private key key to wallet.
Adds an adhoc private key key to wallet .