Build deploy contract transaction data

Returns a ready-to-sign transaction that deploys a new drop contract. Sign and send it from sender, which the response repeats as from; that wallet owns the contract.

Deployable drop_type and token_type combinations:

  • seadrop_v1_erc721 with erc721_clone or erc721_standard: an ERC-721 SeaDrop V1 drop, with stages, allowlists, reveal, and public minting. erc721_clone creates the contract through OpenSea's clone factory; erc721_standard deploys the full contract bytecode.
  • seadrop_v2_erc1155_self_mint with erc1155_clone: an ERC-1155 self-mint drop, where the owner creates each token and mints its whole supply to themselves. It has no stages, publish step, or public mint.

Every other combination returns 400.

For the clone types, to is OpenSea's clone factory. For erc721_standard, to is null: it is a contract-creation transaction, so send it without a to field.

Next, poll GET /api/v2/drops/deploy/{chain}/{tx_hash}/receipt with the hash of the sent transaction until status is success. The receipt carries the contract address and, once the new collection is indexed, the collection_slug every other drop endpoint takes.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Deploy contract request parameters

string
required
length ≥ 1

Chain slug (e.g. "ethereum", "base")

string
required
length ≥ 1

Name for the new contract

string
required
length ≥ 1

Symbol for the new contract

string
enum
required
length ≥ 1

Drop type. Deployable values are seadrop_v1_erc721 (with token_type erc721_clone or erc721_standard) and seadrop_v2_erc1155_self_mint (with token_type erc1155_clone). Other combinations return 400.

Allowed:
string
required
length ≥ 1

Deployer wallet address. The transaction must be sent from it, and it becomes the contract owner that publishes the drop and creates self-mint items.

string
enum
required
length ≥ 1

Contract token type. erc721_clone or erc721_standard for drop_type seadrop_v1_erc721; erc1155_clone for drop_type seadrop_v2_erc1155_self_mint.

Allowed:
Responses

500

Internal server error. Please open a support ticket so OpenSea can investigate.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*