Docs

ownerOf

Calls the "ownerOf" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.