Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Querying Data

Once Trin is running, you can access Ethereum data by making requests to its endpoint.

The interface for these requests is JSON-RPC, which is a standard way to communicate with Ethereum nodes.

In the following sections, we make queries with:

  • hand-coded JSON-RPC
  • using a Web3 library

Serving data for wallets is not covered here. We hope to get there eventually, but the network is not ready quite yet.