Which file inside the insight-api store the RPC details for bitcore?

Inside the insight-api in which file RPC details are stored that make call to the bitcore node ?

insight-api runs inside the bitcore-node instance.

The bitcore-node uses bitcore-node.json file for all services config.

You configure the “bitcoind” service to set the port for bitcoind rpc.

If you use “servicesConfig”: { “bitcoind”: { “connect”: [ ] } } instead of “spawn” it will connect to an existing *coind instance.

These notes are for the v3 or v4 versions, i don’t know about the v5+ version using bcoin.

Cant we use the insight API code with another block chain ?