Skip to main content
POST
Deploy ERC-721 collection

Node.js SDK

🔗 SDK Method: deployErc721 Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Headers

x-wallet-id
string
required

Wallet ID to use for transactions

Body

application/json
name
string
required
Required string length: 1 - 255
network
enum<string>
required
Available options:
base,
optimism,
base-sepolia
symbol
string
required
Required string length: 1 - 32
description
string
image
string
max_supply
integer
default:0

Max supply (0 = unlimited)

Required range: 0 <= x <= 281474976710655
mint_config
object
royalty_bps
integer
default:0

Royalty in basis points (500 = 5%, max 2500 = 25%)

Required range: 0 <= x <= 2500
royalty_recipient
string

Defaults to creator wallet

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x5a927ac639636e534b678e81768ca19e2c6280b7"

Response

201

collection
object
required
object
enum<string>
required
Available options:
nft_collection