Guides

How to Send a Token/NFT with DropChain

Sending tokens or NFTs (Non-Fungible Tokens) is a common use case in the world of blockchain and web3. With the DropChain API, you can easily send tokens or NFTs without any web3 experience.

June 27, 2023

DropChain makes building web3 apps easy — no web3 development expertise needed. If you haven't created an account on DropChain yet, please follow the DropChain Getting Started guide.

Sending a Token/NFT with the DropChain API

Sending tokens or NFTs (Non-Fungible Tokens) is a common use case in the world of blockchain and web3. With the DropChain API, you can easily send tokens or NFTs without any web3 experience. The send_asset endpoint allows you to transfer assets, such as tokens or NFTs, from one user to another.

You might want to use this API endpoint when enabling users to trade, gift, or sell digital assets within your application. It could also be used to airdrop your assets to your end users when they do something, like play a game or acquire an item.

The account that you are sending the asset to must be opted into the asset. See How To Opt into a Token/NFT.

The DropChain API is available in both code and no-code forms. So, regardless of your technical expertise, you can build a web3 app in no time!

Ready to start building?

Start building in web3 to enhance your app with all the web3 functionality you'll ever need.

Get Started for Free

How To Use

Code:

If you know how to code, you can use the following code examples below to get started. Python (with the DropChain SDK) and Javascript (using fetch) is shown, but any language that supports POST requests will work.

For a more in-depth guide on the process of minting, opting into an asset, and sending an asset, we recommend the guide here.

No Code:

The DropChain API integrates with existing no-code tools. Bubble.io allows you to make no-code web apps, and DropChain has a no-code plugin with the functionality above.

This enables you to build 100% no-code web3 apps, games, and any other platform you can imagine.

Check out our guide here to get started building a no-code web3 app with DropChain and Bubble.io — no coding experience needed.

Conclusion

For more information on using the send_asset endpoint, refer to the DropChain API documentation.

By following these steps, you'll be able to mint your first NFTs using the DropChain API in minutes. For more information and examples, refer to the DropChain documentation.

Don't build Alone

Join a community of builders creating the future of web3.

What do you want to know??
Submit a question or topic you want us to answer
Thanks for joining us!

Join the rest of the community in the Discord Server. See ya there!
Oops! Something went wrong while submitting the form.
Developer Stories
Join us as we create a global community of builders
Thanks for joining us!

Join the rest of the community in the Discord Server. See ya there!
Oops! Something went wrong while submitting the form.
Join the Discord
Get Access
DropChain is just better
See how DropChain stacks up against the competition
Compare
Can't Code? No Worries
Learn how to build a fully functional web3 app using no-code tools
Get the Guide