Skip to main content

api/addresses

fetchAddress()โ€‹

fetchAddress(path: number | WalletPath): Promise<string>

Fetches a single address from the device.

Parametersโ€‹

ParameterTypeDefault valueDescription
pathnumber | WalletPath0either the index of ETH signing path or the derivation path to fetch

Returnsโ€‹

Promise<string>

Noteโ€‹

By default, this function fetches m/44'/60'/0'/0/0

Sourceโ€‹

api/addresses.ts:55