Skip to content

streamingfast/firehose-gear

Repository files navigation

StreamingFast Firehose Banner

Firehose for Vara

reference

Quick start with Firehose for Vara can be found in the official Firehose docs. Here some quick links to it:

Running the Firehose poller

The below command with start streaming Firehose Vara blocks, check proto/sg/gear/type/v1/block.proto for more information.

firevara fetch {FIRST_STREAMABLE_BLOCK} --endpoints {VARA_RPC_ENDPOINT} --state-dir {STATE_DIR}

Fetching the metadata

To fetch the metadata, pass in a Blockhash.

curl --location 'https://vara-mainnet.public.blastapi.io' --header 'Content-Type: application/json' --data '{ "id": 1, "jsonrpc": "2.0", "method": "state_getMetadata", "params": ["$BLOCKHASH"] }' | jq .result

Contributing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages