Claim Tokens

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

Token Drop - Claim Tokens 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 tokens 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 tokens 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.

Token Drop - Claim Transaction ID

The transaction receipt from claiming tokens.

Token Drop - Claim Error

The error that occurred while claiming tokens.

Events

Token Drop - Claimed

Tokens successfully claimed.

Token Drop - Claim Error

An error occurred while claiming tokens.

More questions? Join our Discord

Last updated