🧑‍🚀 CERTHIS 🧑‍🚀
  • 🎯GET STARTED
    • Platform Quick Overview
    • Certhis Academy
    • Create Collection
  • 👾API Object References
    • Collection
    • NFT
    • User
    • Label
    • Currency
  • 🖼️Dynamic NFT
    • Authentication
    • API Endpoints
  • ⚙️Web3 CRM
    • API Endpoints
    • Webhook
  • 🍏Apple & Google Wallet
    • API Endpoints
    • Scanner
  • 🛒NFT Checkout
    • Claimer
    • API Endpoint
  • ⛏️Mint API
    • API Endpoint
    • MINTER ADDRESS
    • Webhook
    • Free Claim User
  • ✴️API endpoints
    • COLLECTION
    • CURRENCIES
    • NFT
    • STATISTICS
    • TRANSACTIONS
    • USER
    • SIGNATURE
    • CONTRACT
  • 📖Certhis SDK
    • Deploy Collection
    • Fetch NFT
    • Fetch Transactions
  • 💰Certhis WALLET
    • Introduction
    • Usage
    • Generate Wallet
    • Export private key
    • Connect to DAPP
  • 📜Smart Contract
    • ABI
    • INTERFACE
    • Audit
    • Contract Checker
  • 💸Royalties
    • Mint Royalties
    • Resell Royalties
    • Affiliation Royalties
    • Co-Creator Royalties
    • Deactivate Collection Royatlies
  • GATE
  • Community
    • 🔗Certhis On Social Media
    • 🏛️Founders
    • 📞Contact
  • FAQ
    • ❔FAQ
Powered by GitBook
On this page
  • Route: /sign
  • Description
  • Method
  • Query Parameters
  • Responses
  • Route: /check
  • Description
  • Method
  • Query Parameters
  • Responses
  1. API endpoints

SIGNATURE

Route: /sign

Description

This endpoint generates a unique signature for a specified wallet address and saves it using Redis. It also supports an optional header signature and secure signing via UUID.

Method

GET

Query Parameters

  • wallet (required): The wallet address to generate the signature for.

  • contract_id (optional): The contract ID

  • header_signature (optional): An optional header signature to prepend to the generated signature.

  • secure_sign (optional): If provided, a secure UUID-based sign ID will be used to save the signature.

Responses

Success

  • Status: 200 OK

  • Content-Type: application/json

  • Body:

    {
      "status": true,
      "message": "get_sign",
      "data": {
        "signature": "generated-signature",
        "sign_id": "uuid-sign-id" // Only if secure_sign is provided
      }
    }

Route: /check

Description

This endpoint checks the validity of a signature for a specified wallet address to ensure permission.

Method

GET

Query Parameters

  • sign_message (required): The signed message to be validated.

  • sign_id (optional): The identifier of the signature.

  • wallet (required): The wallet address to match against the signature.

Responses

Success

  • Status: 200 OK

  • Content-Type: application/json

  • Body:

    {
      "status": true,
      "message": "good signature",
      "connexion": true
    }

PreviousUSERNextCONTRACT

Last updated 11 months ago

✴️