How are the current blockchain explorers able to query the blockchain?

I’ve ran a few commands using the CLI (create accounts, mint coins, transfers etc) - but as far as I can tell the CLI can only be used to read and perform operations on local accounts.

How are the current BC explorers able to query the transactions on the blockchain? Is there a tutorial or a rundown of how to obtain this info programmatically?

1 Like

perhaps with the help of grpc.