importmulti (0.17.99 RPC)
blockchain
control
generating
mining
network
rawtransactions
util
wallet
importmulti "requests" ( "options" )
Import addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options). Requires a new wallet backup.
Note: This call can take over an hour to complete if rescan is true, during that time, other rpc calls may report that the imported keys, addresses or scripts exists but related transactions are still missing.
Arguments
1. requests |
array required |
Data to be imported |
[ |
array of json objects |
|
{ |
||
"scriptPubKey": |
string / json required |
Type of scriptPubKey (string for script, json for address) |
" |