Skip to main content

dag_resolve

/api/v0/dag/resolve

Resolve IPLD block.

Request

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

Request parameters

  • arg [Required] - The IPFS object hash; the path to resolve.

Response

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

Body

{
"Cid": {
"/": "QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy"
},
"RemPath": ""
}

Result fields