➟ /deals/make/:miner

Use this endpoint to make a deal with a storage provider and a file you have already uploaded to Estuary. You will need the local ID of that file.

miner is the address of the storage provider you want to make a deal with.

Swagger

For more information about this API swagger specification, see here

This page is a work in progress

We will be adding more code examples and more details over time. Thanks for bearing with us and our team! If you have ideas, write us some feedback.

CURL
curl -X POST https://api.estuary.tech/deals/make/f02620 -d '{ "content": 123232}' -H "Content-Type: application/json" -H "Authorization: Bearer REPLACE_ME_WITH_API_KEY"
JavaScript with React
Errors
Response
null