mina_verifyMessage
This method is used to verify the validity of the signature info.
Params
interface VerifyMessageArgs{
// sign account address.
publicKey: string;
// sign message.
data: string;
// sign result.
signature: {
field: string;
scalar: string;
}
}Result
interface ProviderError extends Error {
message: string; // error message.
code: number; // error code.
data?: unknown; // error body.
}
Promise<boolean | ProviderError>Errors
Example
Request
Result
Last updated