Gasless Solana Token Transfers tested by Postman

Gasless Solana Token Transfers tested by Postman

An extra step to making blockchain apps user-friendly is by ensuring transaction fees are not a barrier to the user experience as that brings some level of friction.

With this in mind, I integrated a gasless token transfer feature into our Music Distribution dApp built on Solana. This feature enables users move tokens without needing SOL making this experience less tedious especially for non-crypto natives who also make up a good percentage of our target audience. The Solana API was built with express.js and @solana/web3.js and tested using Postman’s interface.

The API offers six endpoints: create wallets (POST /api/wallet), check balances (GET /api/balance), transfer tokens gaslessly (POST /api/transfer), verify transactions (GET /api/transaction/:txId), view history (GET /api/transactions), and fund wallets on devnet (POST /api/airdrop). The gasless feature—where a fee payer covers SOL costs—makes it ideal for user-friendly decentralized apps.

Postman was my go-to testing platform. I created a collection to organize all endpoints, using environment variables like baseUrl and walletAddress to switch test cases fast. I chained requests—create wallet, airdrop SOL, transfer tokens, check balance—to mimic real-world use leveraging my Postman academy courses.

Below is a link to a brief Demo for some endpoints: PostCon Demo.mp4 - Google Drive