getnewaddress
getnewaddress ( "label" "address_type" )
Returns a new BitcoinEvo address for receiving payments.
If a ‘label’ is provided, it will be added to the address book so that payments received at the address will be associated with the specified label.
Argument #1 – label
Type: string, optional, default=””
The label to link to the address. It can be set to an empty string (""
) to represent the default label. If the label does not already exist, it will be created automatically.
Argument #2 – address_type
Type: string, optional, default=set by -addresstype
Specifies the address type to use. The available options are:
-
"legacy"
: Creates a legacy address. -
"p2sh-segwit"
: Creates a P2SH-SegWit address. -
"bech32"
: Creates a native SegWit (bech32) address.
Result
Name |
Type |
Description |
---|---|---|
str |
string |
The new bitcoinevo address |