Get a single IPFS block

Changed on
post/block/get

Request

  • Base URL
    /api/v0 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v0/block/get
  • Auth
    none declared

Query parameters

argstring required

CID of block

timeoutstring

Max duration (as Go duration string) to wait to find the block

offlineunknown

When true the peer will not consult other peers for the block, defaults to false.

Response

success

Changes