NEAR MCP

by nearai
Verified

account_verify_signature

Cryptographically verify signed data against a NEAR account's public key using specified signature arguments, such as curve and encoding, to ensure data authenticity.

Instructions

Cryptographically verify a signed piece of data against some NEAR account's public key.

Input Schema

NameRequiredDescriptionDefault
accountIdYesThe account id to verify the signature against and search for a valid public key.
dataYesThe data to verify.
networkIdNomainnet
signatureArgsYesThe signature arguments to verify.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accountId": { "description": "The account id to verify the signature against and search for a valid public key.", "type": "string" }, "data": { "description": "The data to verify.", "type": "string" }, "networkId": { "default": "mainnet", "enum": [ "testnet", "mainnet" ], "type": "string" }, "signatureArgs": { "additionalProperties": false, "description": "The signature arguments to verify.", "properties": { "curve": { "description": "The curve used on the signature.", "type": "string" }, "encoding": { "default": "base58", "description": "The encoding used on the signature.", "enum": [ "base58", "base64" ], "type": "string" }, "signatureData": { "description": "The signature data to verify. Only the encoded signature data is required.", "type": "string" } }, "required": [ "curve", "signatureData" ], "type": "object" } }, "required": [ "accountId", "data", "signatureArgs" ], "type": "object" }
ID: ibzhoz5k4z