Function getAddress

  • Description

    Get the public key and public key hash from the ledger

    Returns

    The public key and public key hash

    Example

    ledger.getAddress({
    transport: LedgerTransport,
    path = "44'/1729'/0'/0'",
    displayConfirm = true,
    curve = 'tz1',
    }).then(({ address, publicKey }) => console.log(address, publicKey));

    Parameters

    Returns Promise<{ address: string; publicKey: string }>

Generated using TypeDoc