Skip to main content
Glama

create_gift_card

Generate crypto gift cards on Ethereum, BNB Chain, or Polygon using a wallet private key. Specify chain, token, amount, and quantity to create redeemable vouchers.

Instructions

Create a new UniVoucher gift card using your standard Ethereum crypto wallet private key. The private key is optional and can be set via WALLET_PRIVATE_KEY environment variable (with or without 0x prefix). Uses Direct Response Mode for immediate card details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainIdYesChain ID where to create the card (e.g., 1 for Ethereum, 56 for BNB Chain, 137 for Polygon)
tokenAddressYesToken address (use 0x0000000000000000000000000000000000000000 for native currency)
tokenAmountYesAmount of tokens to store in the card (as string to handle large numbers)
messageNoOptional message to attach to the card
quantityNoNumber of cards to create (1-100)
orderIdNoOrder ID for user reference (auto-generated if not provided)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UniVoucher/UniVoucher-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server