Skip to main content

block_get

/api/v0/block/get

Get a raw IPFS block.

Request

curl "https://ipfs.infura.io:5001/api/v0/block/get?arg=<key>" \
-X POST \
-u "<YOUR-API-KEY>:<YOUR-API-KEY-SECRET>"

Request parameters

  • arg [Required] - The base58 multihash of an existing block to get.

Response

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

Body

This endpoint returns a `text/plain` response body.