Signature
Description: The server for Signature Authentication would authenticate the incoming signature. If it is valid, then an addressAuthToken valid for 7 days will be returned.
This method is packed in the JS-SDK. It is remmended to acquire the addressAuthToken through the JS-SDK.
Request Parameters
pk
text
Public Key (without the "0x" prefix)
algorithm
variant
Signature Algorithm: secp256k1;
message
text
Plaintext message to be signed.Note:It should end with Timestamp:${value}, in which "value" is the current timestamp in milliseconds
wallet_name
text
use the wallet with this name to sign the message
decoded_signature
text
The hexString of the signature (without the "0x" prefix)
chain_name
text
the name of the blockchain
Request Example
Response Example
Last updated