UNPKG

@tonkeeper/tonconnect-ui-react

Version:

> This is a Tonkeeper-maintained fork of the official [TonConnect UI React](https://github.com/ton-connect/sdk/tree/main/packages/ui-react) with additional features and improvements. While maintaining compatibility with the core TonConnect protocol.

6 lines (5 loc) 259 B
/** * Use it to get user's current ton wallet address. If wallet is not connected hook will return empty string. * @param [userFriendly=true] allows to choose format of the address. */ export declare function useTonAddress(userFriendly?: boolean): string;