➟ /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.


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 -X POST https://api.estuary.tech/deals/make/{miner} -H "Authorization: Bearer REPLACE_ME_WITH_API_KEY" -H "Accept: application/json" -d '{"dealRequest": "DEALREQUEST"}'
JavaScript with React