Bitcoin-SV (BSV)

Method: POST deriveaddresses


POST deriveaddresses

Derives one or more addresses corresponding to an output descriptor.

In the above, pubkey either refers to a fixed public key in hexadecimal notation, or to an xpub/xprv optionally followed by one or more path elements separated by "/", where "h" represents a hardened child key.

For more information on output descriptors, see the documentation in the doc/ file.


descriptor - string, required

The descriptor.

range - numeric or array, optional

If a ranged descriptor is used, this specifies the end or the range (in [begin,end] notation) to derive.


curl --location --request POST '' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "sendrawtransaction",
"params": ["descriptor", null],
"id": ""}'