bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/importdescriptors
Wallet

importdescriptors

Import descriptors. This requires a new wallet backup. Only for descriptor wallets.

Parameters

requestsarrayREQUIRED
Array of descriptor import objects with desc, active, range, next_index, timestamp, internal, label

Returns

arrayArray of import results

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"importdescriptors","params":[[{"desc":"wpkh(tprv...)#checksum","timestamp":"now"}]]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

[
  {
    "success": true
  }
]
← Previous
getreceivedbylabel
Next →
importmulti

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗