Skip to content

getAddress

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

Import

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

Usage

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

Returns

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