Skip to main content
GET
Simulate NFT mint calldata

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Query Parameters

recipients
string
required

JSON array of recipients (same structure as POST).

nft_contract_address
string
required

Ethereum address

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

"0x5a927ac639636e534b678e81768ca19e2c6280b7"

network
enum<string>
required

Network to mint on.

Available options:
base,
optimism,
base-sepolia

Response

Success

args
any[]
required
calldata
string
required

Calldata for the mint transaction.

Example:

"0xabcdef"

data
string
required
Example:

"0x1234abcd"

estimated_total_cost_wei
string
required

Estimated total cost in wei (value + gas). Use this for price display.

Example:

"100000000000000"

function_name
string
required
Example:

"mintTo"

network
string
required
Example:

"base"

recipient
object
required

NFT mint recipient. Exactly one of "address" or "fid" must be set.

to
string
required

Ethereum address

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

"0x5a927ac639636e534b678e81768ca19e2c6280b7"

value
string
required
Example:

"0"

abi
any | null

ABI for the mint function.