SIGNATURE
Last updated
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.
GET
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.
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
}
}This endpoint checks the validity of a signature for a specified wallet address to ensure permission.
GET
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.
Status: 200 OK
Content-Type: application/json
Body:
Last updated
{
"status": true,
"message": "good signature",
"connexion": true
}