dag_get

Get a DAG node from IPFS.

/api/v0/dag/get

Get a DAG node from IPFS.

REQUEST

curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/dag/get?arg=<key>&output-codec=dag-json" \
    -X POST

REQUEST PARAMS

  • arg [Required]: The object to get.

  • output-codec [Optional]: Format the object will be decoded in. The default is dag-json.

RESPONSE

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

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

Last updated