ownerOf

Calls the "ownerOf" function on the contract.

Example

import { ownerOf } from "thirdweb/extensions/erc721";
const result = await ownerOf({
contract,
tokenId: ...,
});
function ownerOf(
): Promise<string>;

Parameters

The options for the ownerOf function.

Type

Returns

let returnType: Promise<string>;

The parsed result of the function call.