Base

This section provides information specific to the Base blockchain.

Sending Requests

We host one JSON-RPC API endpoint for Base Mainnet:

  • Archival Node: This node provides access to the entire blockchain history, starting from genesis, as is. API is fully compatible with the Ethereum JSON-RPC API. Only POST endpoints are supported.

Querying the Subgraph

You can query your subgraphs using the following methods:

  • By name: https://proxy.base.chain.love/subgraphs/name/<SUBGRAPH_NAME>

# Assuming the subgraph name is `base/hello`
curl -X POST \
 -H "Content-Type: application/json" \
 -d '{"query":"query MyQuery {\r\n  jobs(first: 10) {\r\n    id\r\n  }\r\n}","variables":{}}' \
 "https://proxy.base.chain.love/subgraphs/name/base/hello"

Last updated