user130726: I'm trying to build an explorer and I need to pull information about the wallet address such as transactions.
Do I have to loop through everything with importaddress or is there an easier way?
I already have the blockchain indexed so I can look at transactions outside my own.

user51948: If you want to import multiple things at the same time using the Bitcoin Core RPC, then importmulti is the best way to do so. It takes an array of JSON objects which can contain descriptors, scriptPubKeys, addresses, keys, and other metadata. It is a very useful RPC.

130726: <p>I'm trying to build an explorer and I need to pull information about the wallet address such as transactions.</p>
<p>Do I have to loop through everything with importaddress or is there an easier way?</p>
<p>I already have the blockchain indexed so I can look at transactions outside my own.</p>
 51948: <p>If you want to import multiple things at the same time using the Bitcoin Core RPC, then <a href="https://bitcoincore.org/en/doc/0.21.0/rpc/wallet/importmulti/" rel="nofollow noreferrer"><code>importmulti</code></a> is the best way to do so. It takes an array of JSON objects which can contain descriptors, scriptPubKeys, addresses, keys, and other metadata. It is a very useful RPC.</p>
