Welcome to our NFT Verification API documentation. Our API provides a robust backend service designed to verify and categorize NFTs in users' wallets. Leveraging the power of the Ordinal API and Prisma, our API ensures secure and efficient handling of NFT data.
Our project structure is organized to ensure clarity and ease of maintenance. The backend folder contains all the essential components, including Prisma for database management, Express for handling HTTP requests, and our custom modules for NFT verification logic.
Our API verifies the contents of a user's wallet by interacting with the Ordinal API. By submitting a wallet address, users can get a detailed verification and categorization of their NFTs.
The API maintains a list of supported NFTs in a PostgreSQL database, allowing for dynamic updates and queries. This ensures that only recognized and supported NFTs are categorized and returned to the user.
We have implemented comprehensive error handling to ensure that any issues during the verification process are promptly reported and managed, providing users with clear feedback.
POST /api/nft/verify: This endpoint accepts a wallet address and returns the verified and categorized NFTs from the user's wallet.
Ensure to set up the necessary environment variables in a .env
file:
DATABASE_URL
: Connection string for the PostgreSQL database.ORDINAL_API_URL
: Base URL for the Ordinal API.Follow the steps outlined in our setup guide to install dependencies, configure the environment, run database migrations, and start the application. Whether in development or production mode, our detailed instructions ensure a smooth setup process.
Use tools like cURL or Postman to test the API endpoints. We provide examples for both, allowing you to quickly verify the functionality and responses of the API.
Our NFT Verification API is designed to provide a seamless experience for developers and users alike. By leveraging modern technologies and best practices, we ensure reliability, security, and efficiency in handling NFT data. Whether you are building a new NFT platform or integrating NFT verification into an existing system, our API offers the tools and functionality you need.
For further details or assistance, please refer to our comprehensive documentation or contact our support team. Thank you for choosing our NFT Verification API!