> For the complete documentation index, see [llms.txt](https://docs.wetez.io/wetez/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wetez.io/wetez/developer/storage/block_stat.md).

# block\_stat

## /api/v0/block/stat

Print information of a raw IPFS block.

### REQUEST

{% tabs %}
{% tab title="Syntax" %}

```bash
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/block/stat?arg=<key>" \
    -X POST
```

{% endtab %}

{% tab title="Example" %}

```bash
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/block/stat?arg=QmZACwaaaKQpYTFuaaxCC3z8cyJRAkk1bSfVSSViLQPAGu" \
    -X POST
```

{% endtab %}
{% endtabs %}

#### REQUEST PARAMS

* `arg` *\[Required]* - The base58 multihash of an existing block to stat.

### RESPONSE

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

#### BODY

```js
{
    Key: "QmZACwaaaKQpYTFuaaxCC3z8cyJRAkk1bSfVSSViLQPAGu",
    Size: 20
}
```

#### RESULT FIELDS

* `Key` - The base58 multihash string of the block.
* `Size` - An integer representing the size in bytes.
