account_sign_data
Cryptographically sign data using a local account's private key, encode the result, and generate outputs for curve, encoded signature, and encoding. Used with NEAR MCP for blockchain interactions.
Instructions
Cryptographically sign a piece of data with a local account's private key, then encode the result with the specified encoding. Outputs the curve, encoded signature, and encoding used.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accountId | Yes | The account id of the account that will sign the data. This account must be in the local keystore. | |
data | Yes | The data to sign as a string. | |
networkId | No | mainnet | |
signatureEncoding | No | The encoding to use for signature creation. | base58 |