07:30 AM
Avatar

OTP: One-Time Password

rest:"Reset OTP"

🚀 API Documentation

Domain: api.otp.rest

🔐 Security

  • IP Whitelisting (Restricted IP Access)
  • API Key Authentication (Secret Key)
  • Signature Verification (MetaMask)

📌 Available Endpoints

GET /get_balance.php

Get user balance (Auto create 3 tokens for new users)

GET https://api.otp.rest/get_balance.php?address=0x...

POST /claim.php

Claim voucher code (0.1% fee)

POST https://api.otp.rest/claim.php

Body (JSON):

{
  "address": "0x...",
  "signature": "...",
  "message": { ... }
}

Full documentation for api.otp.rest will be updated soon.