Introduction

Server Wallet APIs

Overview

Server Wallet APIs simplify NFT development by encapsulating complex blockchain interactions into straightforward REST API calls. Traditional app developers can now integrate NFT functionality without writing web3 code or requiring users to manage their own wallets.

How It Works

Instead of handling multiple blockchain steps, wallet connections, and third-party integrations yourself, Server Wallet APIs manage the entire NFT lifecycle through your dedicated server wallet. You simply make HTTP requests, and our infrastructure handles the blockchain complexity behind the scenes.

Key Benefits

  • No Web3 Code Required: Integrate NFTs using familiar REST APIs
  • User-Friendly: No wallet operations needed from your users
  • Business Logic Focus: Concentrate on your app’s logic rather than blockchain technicalities
  • Simplified Development: Reduce complex multi-step processes to single API calls

Core Features

NFT Minting and Transfer

The mint endpoint allows you to mint NFT tokens directly to any wallet address with a single API call. This enables powerful use cases like:

  • Point-to-NFT Systems: Users spend points to redeem exclusive NFTs
  • Achievement Rewards: Automatically mint NFTs when users complete milestones
  • Campaign Distributions: Bulk mint promotional NFTs to customer wallets
  • Dynamic Rewards: Create custom business logic to determine NFT distribution

Example Flow:

  1. User completes an action in your app (purchases, achievements, etc.)
  2. Your backend calls mintTo with the user’s wallet address
  3. Server Wallet automatically mints and transfers the NFT
  4. User receives the NFT in their wallet

Contract Deployment (deploy-drop)

Deploy custom NFT contracts through step-by-step API calls without any web3 development knowledge. Perfect for creating:

  • Custom NFT collections
  • Branded token contracts
  • Specialized smart contracts with unique features

Getting Started

Prerequisites

  1. Lootex Plus Account: Access your team’s Lootex Plus dashboard
  2. Find Your Server Wallet: Locate your dedicated wallet address in the dashboard
  3. Deposit Gas Fees: Transfer ETH to your server wallet for the desired blockchain networks
  4. Get API Credentials: Obtain your secret key (not API Keys) for authentication on Lootex Plus Dashboard

Authentication

All API requests require your secret key in the authorization header:

Authorization: Bearer sk-your-secret-key

Basic Integration

# Example: Mint NFT to user wallet
curl -X POST https://api.lootexplus.com/mint \
  -H "Authorization: Bearer sk-your-secret-key" \
  -H "Content-Type: application/json" \
  -d '{
    "chainId": 1868,
    "contractAddress": "0x...",
    "recipientAddress": "0x...",
    "quantity": 1
  }'

Use Cases

Gaming Applications

  • Reward players with unique NFT items
  • Create in-game asset economies
  • Implement achievement systems

E-commerce Platforms

  • Loyalty program NFTs
  • Limited edition product certificates
  • Customer reward systems

Content Platforms

  • Creator monetization tools
  • Exclusive content access tokens
  • Community membership NFTs

Marketing Campaigns

  • Promotional NFT drops
  • Brand engagement rewards
  • Event commemoration tokens