signature.php

Verifies a signed message made by the user's wallet

Verifies a signed message

GET https://solpay.togatech.org/signature.php

The signature endpoint takes in three parameters: address, message, and signature. The address parameter is for the signing address, the message is for the text which was signed, and the signature is for the signed message (which can be obtained through signMessage). The endpoint returns whether the signature is valid.

Query Parameters

NameTypeDescription

address*

string

signing address

message*

string

original text

signature*

string

signed text

{
    "status": "success",
    "verified": true
}

Example Request:

https://solpay.togatech.org/signature.php?address=SIGNING_ADDRESS&message=MESSAGE&signature=SIGNATURE

Last updated