sign_transaction
Sign NEAR transactions (transfer or function_call) with an ED25519 private key. Provide signer, receiver, nonce, recent block hash, and actions.
Instructions
Sign a NEAR transaction payload (transfer/function_call actions) with an ED25519 private key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"signer_id": "<signer_id>",
"signer_private_key": "<signer_private_key>",
"receiver_id": "<receiver_id>",
"nonce": "<nonce>",
"recent_block_hash": "<recent_block_hash>",
"actions": "<actions>"
},
"name": "sign_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | ||
| actions | Yes | ||
| signer_id | Yes | ||
| receiver_id | Yes | ||
| recent_block_hash | Yes | Base58 block hash (32-byte decoded) | |
| signer_private_key | Yes |