Skip to content

Files

Latest commit

2b81ac3 · Jan 20, 2025

History

History
81 lines (56 loc) · 2.09 KB

explorers.md

File metadata and controls

81 lines (56 loc) · 2.09 KB
description
A block explorer is a tool that allows users to view and search the contents of blocks on a blockchain. This page covers available explorers for the Filecoin mainnet.

Explorers

Block explorers allow you to view the details of the Filecoin network on a single website. Individual block explorers contain different features that may be useful. None of these sites are created or maintained by Protocol Labs or the Filecoin Foundation. This list is in alphabetical order:

Beryx

Website beryx.zondax.ch

Filfox

Website: filfox.info

Filscan

Website: filscan.io

Filutils

Website: filutils.com

Starboard

Website: fvm.starboard.ventures

Blockscout Open-Source FEVM Explorer

Website: filecoin.blockscout.com

API requests

If you have access to a Filecoin node, you can send a JSON-RPC request to get block information.

To get the head tipset:

curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "method":"Filecoin.ChainHead",
    "params": null,
    "id":1
}' | jq

Print a block:

curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "method":"Filecoin.ChainGetBlock",
    "params": [{"/": "bafy2bzacebpgpa7elb5uwqxbiljlzgbmpenv4yw2e3gpcjk7ssxv2ijv3ecv2"}],
    "id":1
}' | jq

Print message information:

curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "method":"Filecoin.ChainGetMessage",
    "params": [{"/": "bafy2bzacebpgpa7elb5uwqxbiljlzgbmpenv4yw2e3gpcjk7ssxv2ijv3ecv2"}],
    "id":1
}' | jq

Was this page helpful?