ENSC Business API
Business DashboardWebsite
  • Introduction
    • Use Cases
    • Configurations
  • Ready To Integrate?
  • Getting Started
    • Security
      • Generating Keys
      • Encrypting / Decrypting Request
  • Integrations
    • Contract Address
    • Enums
    • Authorization
    • Endpoints
      • Get Bank Lists
      • Token Balance
      • Token Approval
      • Mint
      • Mint Allocation
      • Redeem
      • Transfer
      • Withdraw
      • Verify Payout/Withdrawal
  • Libraries/SDKs
    • Client Libraries
Powered by GitBook
On this page
  1. Integrations
  2. Endpoints

Mint Allocation

Check your ENSC mint allocation

POST /mintLimit

This endpoint retrieves the mint allocation for a recipient. It verifies the recipient’s address, checks that the account has the minting privilege, and then returns mint limit expressed in the token currency (ENSC).

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <api_key>

Body

Name
Type
Description

recipient

string

The wallet address for which to check the mint limit or allocation.

Example

{
  "recipient": "0xRecipientAddressABC123"
}
{
  "status": 200,
  "message": "Mint limit retrieved successfully",
  "data": {
    "address": "0xRecipientAddressABC123",
    "mintLimit": "1000.0",
    "currency": "ENSC"
  }
}

Error Responses

{
  "status": 400,
  "error": "Invalid Request",
  "message": "Invalid recipient address format",
  "data": null
}
{
  "status": 403,
  "error": "Permission Denied",
  "message": "Account lacks minting privileges",
  "data": null
}
{
  "status": 500,
  "error": "Mint Limit Check Failed",
  "message": "Failed to retrieve mint limit",
  "data": null
}
PreviousMintNextRedeem

Last updated 2 months ago