Drops Endpoints

Build unpublish transaction data for a drop

Changed on

Returns 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

Path parameters

slugstring required

Collection slug

Response

Ready-to-sign unpublish transaction

chainstring required

Chain identifier

datastring required

Encoded transaction data (hex)

fromstring required

Address the transaction must be sent from: the contract's onchain owner. Sent from any other address it reverts.

tostring required

Transaction target contract address

valuestring required

Native currency to send with the transaction, in wei, as a decimal string (not hex)

Example response

{
  "value": "0"
}

Changes