contractArgs

thirdweb Signature

📘

Signature-based minting is optional.

If you don't provide a signature, a thirdweb Signature drop is treated as a normal ERC-721a contract.

For thirdweb Signature contracts, provide the raw payload and signed payload.

Here's an example of generating this signature:

const signatureDrop = thirdwebSdk.getContract('signature-drop');

const payload = {
  to: buyerWalletAddress,
  price: "0.01",
  mintStartTime: new Date(0),
};

const signature = await signatureDrop.signature.generate(payload);

Provide the payload and signature:

"contractArgs": {
  "payload": payload,
  "signature": signature,
}

References

thirdweb Edition

Provide the token ID in the NFT collection to mint:

"contractArgs": {
  "tokenId": "0"
}

thirdweb Marketplace

Provide the marketplace listing ID of the direct listing:

"contractArgs": {
  "listingId": "0"
}

Reservoir

Provide the collection address, token ID. Mint from a specific marketplace by providing a marketplaceSource.

{
  "collectionContractAddress": "0x965550329b91b7c703a527347b613E175f38872d",
  "tokenId": 0,
  "marketplaceSource": "opensea.io"
}
NameTypeDescription
collectionContractAddress *stringThe contract address of the NFT collection.
tokenId *stringThe token ID of the NFT from the listing.
marketplaceSourceenum

Valid values:
- opensea.io
- looksrare.org
- x2y2.io
- sudoswap.xyz
- nft.coinbase.com
- rarible.com
- nftx.io
- foundation.app
- manifold.xyz
- zora.co
- blur.io
- cryptopunks.app
- element.market
- infinity.xyz
- universe.xyz
- sansa.xyz
- ens.vision
- magically.gg
- alienswap.xyz
- sound.xyz
- atomic0.com
- rare.id
- parcel.so
- metahood.xyz
- reservoir.market
- tessera.co
The marketplace you want to source the listing from.

Note: Paper only supports direct sales (i.e. "Buy Now"). Auction bids are currently not supported.

Metaplex Auction House

"contractArgs": {
  "mintAddress": "address of the token mint",
  "tokenAccount": "address of the token account (seller)",
  "sellerWalletAddress": "public address of the seller",
  "price": {
    "value": "0.1",
    "currency": "SOL"
  },
}

Note: Paper only supports direct sales (i.e. "Buy Now"). Auction bids are currently not supported.

Note: Ensure that your Auction House configuration allows the execute_sale operation to be made public without approval needed from the Auction House Authority.