NEAR MCP

by nearai
Verified

account_delete_account

Remove an account from the NEAR blockchain, clearing it from the local keystore and transferring its remaining balance to a specified beneficiary account.

Instructions

Delete an account from the NEAR blockchain. This will also remove the account from the local keystore and any associated keypair.

Input Schema

NameRequiredDescriptionDefault
accountIdYesThe account to delete.
beneficiaryAccountIdYesThe account that will receive the remaining balance of the deleted account.
networkIdNomainnet

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accountId": { "description": "The account to delete.", "type": "string" }, "beneficiaryAccountId": { "description": "The account that will receive the remaining balance of the deleted account.", "type": "string" }, "networkId": { "default": "mainnet", "enum": [ "testnet", "mainnet" ], "type": "string" } }, "required": [ "accountId", "beneficiaryAccountId" ], "type": "object" }
ID: ibzhoz5k4z