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
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | Chain ID where to create the card (e.g., 1 for Ethereum, 56 for BNB Chain, 137 for Polygon) | |
| tokenAddress | Yes | Token address (use 0x0000000000000000000000000000000000000000 for native currency) | |
| tokenAmount | Yes | Amount of tokens to store in the card (as string to handle large numbers) | |
| message | No | Optional message to attach to the card | |
| quantity | No | Number of cards to create (1-100) | |
| orderId | No | Order ID for user reference (auto-generated if not provided) |