Drops Endpoints
Build unpublish transaction data for a drop
Changed onReturns a ready-to-sign transaction that closes a live ERC-721 SeaDrop V1 drop by replacing its stages with one that has already ended. Only the collection owner can call this endpoint, and the transaction must be sent from from.
This saves that ended stage as the drop's draft before returning, replacing any edits saved with POST /api/v2/drops/{slug}. If the transaction is never sent, save new edits before publishing again.
post/api/v2/drops/{slug}/unpublish
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key and OpenID Connect (https://auth.opensea.io/.well-known/openid-configuration, scopes: write:drops)
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
slugstring required
Collection slug
Response
Ready-to-sign unpublish transaction
Example response
{
"value": "0"
}Changes
- info
endpoint added
- info