Build the transactions that turn creator fee enforcement on or off for a collection, for the owner to sign and send. Turning it on sets OpenSea's transfer validator on the contract (the Creator earnings tab in Studio); turning it off removes it. Nothing changes until the transactions are mined. Only the collection owner can call this, and the contract must be owned onchain by that wallet. When enforcement is already in the requested state, transactions is empty and there is nothing to send. Check the result with GET /api/v2/collections/{slug}/creator_fee_enforcement.
On chains that use the Limit Break V5 validator, set allow_eip7702_transfers, allow_smart_wallet_transfers or both to also get the policy update that lets those wallets send the collection's NFTs directly. It is one separate transaction to the transfer validator, sent after the one that sets it. For a collection that is already enforced, it is the only transaction returned. It rewrites the collection's whole policy as read when it was built, so request it right before signing.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Invalid or missing API key
500Internal server error. Please open a support ticket so OpenSea can investigate.