owner

Calls the "owner" function on the contract.

Example

import { owner } from "thirdweb/extensions/modular";
const result = await owner({
contract,
});
function owner(options: BaseTransactionOptions): Promise<string>;

Parameters

The options for the owner function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<string>;

The parsed result of the function call.