Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions docs/network/build/tools/data-indexers/pinax.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
title: Pinax
description: Index Linea data with Pinax Firehose, Substreams, and RPC endpoints.
---

[Pinax](https://pinax.network/) provides Firehose, Substreams, and JSON-RPC endpoints for Linea

Check warning on line 6 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 6, "column": 52}}}, "severity": "WARNING"}

Check warning on line 6 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 6, "column": 42}}}, "severity": "WARNING"}

Check warning on line 6 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Pinax'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Pinax'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 6, "column": 2}}}, "severity": "WARNING"}
Mainnet and Linea Sepolia.
Pinax maintains the open source Firehose and Substreams stack alongside StreamingFast, and

Check warning on line 8 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 8, "column": 46}}}, "severity": "WARNING"}

Check warning on line 8 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 8, "column": 33}}}, "severity": "WARNING"}

Check warning on line 8 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Pinax'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Pinax'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 8, "column": 1}}}, "severity": "WARNING"}
operates its own nodes for both networks.

## Stream blocks with Firehose

Check warning on line 11 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 11, "column": 23}}}, "severity": "WARNING"}

[Firehose](https://app.pinax.network/docs/firehose) streams full blocks over gRPC, including

Check warning on line 13 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Firehose'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 13, "column": 2}}}, "severity": "WARNING"}
transactions, receipts, logs, call traces, and balance changes.
Use it when an application needs the complete block payload rather than the subset a JSON-RPC
node returns, or when it needs to process history faster than sequential RPC calls allow.

<table>
<thead>
<tr>
<th>Network</th>
<th>Endpoint</th>
</tr>
</thead>
<tbody>
<tr>
<td>Linea Mainnet</td>
<td><code>linea.firehose.pinax.network:443</code></td>
</tr>
<tr>
<td>Linea Sepolia</td>
<td><code>lineasepolia.firehose.pinax.network:443</code></td>
</tr>
</tbody>
</table>

Authenticate by passing an API key in the `X-Api-Key` header.

## Transform blocks with Substreams

Check warning on line 39 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 39, "column": 26}}}, "severity": "WARNING"}

[Substreams](https://app.pinax.network/docs/substreams) is a parallel indexing engine that runs

Check warning on line 41 in docs/network/build/tools/data-indexers/pinax.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary. Raw Output: {"message": "[Consensys.Spelling] Did you really mean 'Substreams'? Ignore this alert if this is a false positive, or ask Cursor to add the term to the Vale dictionary.", "location": {"path": "docs/network/build/tools/data-indexers/pinax.mdx", "range": {"start": {"line": 41, "column": 2}}}, "severity": "WARNING"}
on top of Firehose.
Write modules in Rust, package them as an `.spkg` file, and run them on Pinax servers to
transform raw blocks into the data model an application needs.
Output can be written to PostgreSQL or ClickHouse, served over a stream, or consumed by a
Graph Node as a subgraph data source.

<table>
<thead>
<tr>
<th>Network</th>
<th>Endpoint</th>
</tr>
</thead>
<tbody>
<tr>
<td>Linea Mainnet</td>
<td><code>linea.substreams.pinax.network:443</code></td>
</tr>
<tr>
<td>Linea Sepolia</td>
<td><code>lineasepolia.substreams.pinax.network:443</code></td>
</tr>
</tbody>
</table>

Set the API key in `SUBSTREAMS_API_KEY` before running the
[Substreams CLI](https://docs.substreams.dev/).

## Query state with RPC

[Pinax RPC](https://app.pinax.network/docs/rpc) serves standard Ethereum JSON-RPC 2.0 from
archive nodes, so historical state is queryable at any block rather than only at recent ones.

<table>
<thead>
<tr>
<th>Network</th>
<th>Endpoint</th>
</tr>
</thead>
<tbody>
<tr>
<td>Linea Mainnet</td>
<td><code>https://linea.rpc.pinax.network</code></td>
</tr>
<tr>
<td>Linea Sepolia</td>
<td><code>https://lineasepolia.rpc.pinax.network</code></td>
</tr>
</tbody>
</table>

## Get started

Create a key at [app.pinax.network](https://app.pinax.network/), then follow the
[Pinax documentation](https://app.pinax.network/docs).
Free and paid plans are listed on the [pricing page](https://pinax.network/en/pricing).
Loading