wallet_get_private_key
Retrieve the private key for a wallet securely by providing the wallet data and optional password. Ensures access to wallet management on Ethereum and EVM-compatible chains.
Instructions
Get the wallet private key (with appropriate security warnings)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
password | No | The password to decrypt the wallet if it's encrypted | |
wallet | No | The wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set. |
Input Schema (JSON Schema)
{
"properties": {
"password": {
"description": "The password to decrypt the wallet if it's encrypted",
"type": "string"
},
"wallet": {
"description": "The wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set.",
"type": "string"
}
},
"required": [],
"type": "object"
}