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. |
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:
Website beryx.zondax.ch
Website: filfox.info
Website: filscan.io
Website: filutils.com
Website: fvm.starboard.ventures
Website: filecoin.blockscout.com
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