跳转到主要内容
POST
/
v2
/
ipfs
/
presign
IPFS - 预签名
curl --request POST \
  --url https://api.dex.chainstream.io/v2/ipfs/presign \
  --header 'Authorization: Bearer <token>'
{
  "presignUrl": "https://uploads.pinata.cloud/v3/files/sign/..."
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

200 - application/json

成功响应

presignUrl
string
必填

Presigned upload URL

示例:

"https://uploads.pinata.cloud/v3/files/sign/..."