Build transaction data for creating a SelfMint drop item

Creates one item on an ERC-1155 self-mint drop and returns the ready-to-sign transaction that puts it onchain. Any other drop type returns 400.

An ERC-1155 self-mint drop has no stages, publish step, or public mint. Each item is its own token id: saving one returns a transaction that creates it and mints its whole supply to the contract owner. The transaction's to is the drop's configurer contract (the one its getConfigurer() returns), not the drop contract, and it must be sent from from, the contract owner.

Get media_token from POST /api/v2/drops/{slug}/items/media and upload the file to the returned storage context first. The item is stored and its token id assigned (token_id in the response) before this returns, so calling again creates another item rather than retrying this one; the token is minted only when the transaction confirms.

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

Collection slug

Body Params

Request to create a SelfMint drop item

string | null

Animated media for the item, alongside its image. Blank is treated as no animation, the same as omitting the field.

string | null

Item description

string | null

External URL

string
required
length ≥ 1

Media token reference

string
required
length between 0 and 100

Item name

string
required
length ≥ 1

Item supply as a decimal string

traits
array of objects | null

Item traits

traits
Responses

401

Invalid or missing API key

500

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

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