Skip to content

getOwnerAddress

getOwnerAddress returns the address of the on-chain owner of the account.

Usage

example.ts
import { smartAccountClient } from "./smartAccountClient";

// get on-chain account owner address
const ownerAddress = await smartAccountClient.account.getOwnerAddress();

Returns

Promise<Address>

A Promise containing the address of the smart account's owner address.