getAddress

An async function that retrieves the address using the inner object’s getAddress method.

Import

1import { SessionKeySigner } from "@account-kit/smart-contracts";

Usage

1import { SessionKeySigner } from "@account-kit/smart-contracts";
2
3const signer = new SessionKeySigner();
4const sessionKeyAddress = await signer.getAddress();

Returns

Promise<string> A promise that resolves to the address as a string