Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.51 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.51 KB
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