Claim NFT
Use this action to claim/mint an NFT from this NFT Drop smart contract.
About
This would be the action you use on the "Mint" button for a standard NFT Drop mint site.
This action will be used by end users who would like to purchase an NFT.
Parent Element
Smart Contracts Actions
Drop this element onto the page first to access this action.
Action Name
NFT Drop - Claim NFT a Smart Contracts Actions.
Action Parameters
Press "Show Documentation" under the input for more information on each field.
The connected wallet must have a balance of "Native Token" to cover the network fee for interacting with the contract. (eg. ETH on Ethereum, or MATIC on Polygon).
Gasless Transaction 😱
As mentioned above, when a user would like to claim an NFT from your smart contract they must hold a balance of native tokens in their connected wallet to pay the network fee (gas fee) to claim the NFT from your contract.
This can lead to poor UX for new web3 users!
A solution to this problem is to use a Biconomy relayer to cover this gas fee for your users. All your user will need to do is sign a transaction with their connected wallet, then the transaction will be relayed to your Biconomy account to pay the gas fee to claim the NFT.
Learn how to set up a Biconomy relayer here
Exposed States
The following states are available once this action has run.
NFT Drop - Uploaded Metadata Receipt
The transaction receipt of the metadata uploaded for an NFT drop.
NFT Drop - Metadata Upload Error
The error that occurred while uploading metadata for an NFT drop.
Events
NFT Drop - Metadata Uploaded
Metadata was successfully uploaded for an NFT drop.
NFT Drop - Metadata Upload Error
An error occurred while uploading metadata to an NFT drop.
More questions? Join our Discord
Last updated