@aptos-labs/react
Version:
React library for Aptos applications.
9 lines • 412 B
TypeScript
import { AccountInfo } from "@aptos-labs/js-pro";
/**
* Returns the current account from the `AptosJSProClient`. This typically is the account that is connected to the application.
* If no account is connected, it will return `undefined`.
*
* @returns The current account from the `AptosJSProClient`.
*/
export declare function useAccount(): AccountInfo | undefined;
//# sourceMappingURL=useAccount.d.ts.map