Dashboard
Tutorials
Community
Support
Search…
Welcome to Infura docs
Getting started
Dashboard stats
Networks
Ethereum (execution layer)
ETH2 (consensus layer)
IPFS
How to
HTTP API methods
add
block_get
block_put
block_stat
cat
dag_get
dag_put
dag_resolve
get
object_data
object_get
object_put
object_stat
pin_add
pin_ls
pin_rm
pin_update
version
Filecoin
Polygon PoS
Palm
Optimism
Arbitrum
NEAR
Aurora
StarkNet
Features
Archive data
NFT SDK
Infura transactions (ITX)
Tutorials
Ethereum
Filecoin
NEAR
Layer 2 networks
Developer tools
LEARN
curl
JSON Web Token (JWT)
Web3 libraries
Powered By
GitBook
block_stat
/api/v0/block/stat
Print information of a raw IPFS block.
REQUEST
1
POST https://ipfs.infura.io:5001/api/v0/block/stat?arg=<key>
Copied!
REQUEST PARAMS
arg
[required]
- The base58 multihash of an existing block to stat.
EXAMPLE
1
// POST
2
curl
-X POST
"https://ipfs.infura.io:5001/api/v0/block/stat?arg=QmfQ5QAjvg4GtA3wg3adpnDJug8ktA1BxurVqBD8rtgVjM"
Copied!
RESPONSE
On success, the call to this endpoint will return with 200 and the following body:
RESULT FIELDS
Key
- The base58 multihash string of the block
Size
- An integer representing the size in bytes
BODY
1
{
2
Key: "QmfQ5QAjvg4GtA3wg3adpnDJug8ktA1BxurVqBD8rtgVjM",
3
Size: 18
4
}
Copied!
Previous
block_put
Next
cat
Last modified
3mo ago
Copy link
Contents
/api/v0/block/stat
REQUEST
RESPONSE