> 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/dag_resolve.md).

# dag\_resolve

## /api/v0/dag/resolve

Resolve IPLD block.

### REQUEST

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

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

{% endtab %}

{% tab title="Example" %}

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

{% endtab %}
{% endtabs %}

#### REQUEST PARAMS

* `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

```js
{
    Cid: {
        /: "QmZACwaaaKQpYTFuaaxCC3z8cyJRAkk1bSfVSSViLQPAGu"
    },
    RemPath: ""
}
```

#### RESULT FIELDS

* `Cid` - [Content ID](https://github.com/multiformats/cid).
* `RemPath`
