ledger_verify_address
Display an address on your Ledger device for physical verification to confirm its accuracy before use.
Instructions
Display address on Ledger device for physical verification
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ledger_verify_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/initia/chain-manager.ts:120-129 (helper)ChainManager.ledgerShowAddress() - Helper that dynamically imports @initia/ledger-key, validates the key is a LedgerKey, calls showAddressAndPubKey() on the ledger device, and returns the address.
async ledgerShowAddress(): Promise<string> { if (!this.key) throw new SignerRequiredError(); const { LedgerKey } = await import('@initia/ledger-key'); if (!(this.key instanceof LedgerKey)) { throw new LedgerConnectionError('Key is not a LedgerKey instance.'); } const lk = this.key as any; await lk.showAddressAndPubKey(); return this.key.address; }