block_get

/api/v0/block/get

Get a raw IPFS block.

REQUEST

1
POST https://ipfs.infura.io:5001/api/v0/block/get?arg=<key>
Copied!

REQUEST PARAMS

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

EXAMPLE

1
// POST
2
curl -X POST "https://ipfs.infura.io:5001/api/v0/block/get?arg=QmaYL7E4gDTPNfLxrCEEEcNJgcHBJ55NxxTnxpDKWqMtJ3"
Copied!

RESPONSE

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

BODY

1
This endpoint returns a `text/plain` response body.
Copied!
Last modified 3mo ago