Mint and send an NFT in under 5 minutes
nfts.create
and nfts.read
under the “Minting API”
category and create your key. Save this key for the next step.
mintNFT.js
) and enter this code into it:
YOUR_API_KEY
with the key obtained in the prior step.TEST_EMAIL_ADDRESS
with an email address you control, for testing.mintNFT.js
script.
Sample response
What does this API do behind the scenes?
Send to a given wallet address
recipientAddress
from email:$ {recipientEmail}:${chain}
to ${chain}:${walletAddress}
Mint to another blockchain
chain
variable in the example to
match your blockchain of choice. You may need to create a collection in that blockchain if you didn’t have one
already.actionId
received at the end of step 3 and use it
alongside your API key in one of the snippets below.
Example response
const env = "www"
, so they use the production APIs. You may also need to change the
chain
variable to match your production blockchain.