bitcoind.app
CommandsGuidesContact ↗
Home/Util/deriveaddresses
Util

deriveaddresses

Derives one or more addresses corresponding to an output descriptor.

Parameters

descriptorstringREQUIRED
The descriptor
rangenumber|arrayoptional
Derivation range for ranged descriptors

Returns

arrayArray of derived addresses

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"deriveaddresses","params":["wpkh([d34db33f/84h/0h/0h]xpub.../0/*)#jcr06dv0",[0,2]]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

[
  "bc1q...",
  "bc1q...",
  "bc1q..."
]
← Previous
createmultisig
Next →
estimatesmartfee

More Util Commands

createmultisigestimatesmartfeegetdescriptorinfogetindexinfosignmessagewithprivkeyvalidateaddress

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗