wallet_get_private_key
Retrieve the private key of an EVM-compatible wallet, decrypting it with a password if encrypted. Supports wallets specified as private keys, mnemonics, or JSON files.
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. |