/api/v0/block/stat

Print information of a raw IPFS block.

Arguments

  • arg [string]: The CID of an existing block to stat. Required: yes.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "Key": "<string>",
  "Size": "<int>"
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/block/stat?arg=<cid>"

Last updated