Back to networks
X

X Layer Mainnet

eip155:196Ethereum / EVMBase
Get API key

Pull a block stream in one command

Set $SF_API_TOKEN to a key from your dashboard, then run this against X Layer Mainnet.

grpcurl -H "authorization: Bearer $SF_API_TOKEN" \
-d '{"start_block_num": -100, "final_blocks_only": true}' \
xlayer.firehose.pinax.network:443 \
sf.firehose.v2.Stream/Blocks

Streams the 100 most recent blocks from X Layer Mainnet. Firehose reads a negative start_block_num as an offset back from chain head, so no head lookup is needed.

Providers & endpoints

Pinax

pinax.network
  • Substreamsxlayer.substreams.pinax.network:443
  • Firehosexlayer.firehose.pinax.network:443
First block0Lowest streamable height
Block modelBasesf.ethereum.type.v2.Block
ServicesSubstreams · FirehoseNative token: OKB