-
Notifications
You must be signed in to change notification settings - Fork 16
Bitcoin Generate New Address
Xenland edited this page Dec 5, 2012
·
7 revisions
This function will open a connection with the Bitcoin client, then query it to generate a new address.
This function takes one parameter which is new_address_label and is optional.
This function outputs an array this array will output return_status and new_address.
return_status
- Type: Integer
-1 = Failure to generate address
1 = Success (Address Generated)
100 = Failure to connect to Bitcoin client
101 = Address is too long or too short
new_address
- Type: String
If return_status equals one (1) then this variable should contain a new valid Bitcoin address.