Create a Presign URL for IPFS content
cURL
curl --request POST \ --url https://api.dex.chainstream.io/v2/ipfs/presign \ --header 'Authorization: Bearer <token>'
{ "presignUrl": "https://uploads.pinata.cloud/v3/files/sign/..." }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
Presigned upload URL
"https://uploads.pinata.cloud/v3/files/sign/..."
Was this page helpful?