tokenOfOwnerByIndex

Calls the "tokenOfOwnerByIndex" function on the contract.

Example

import { tokenOfOwnerByIndex } from "thirdweb/extensions/erc721";
const result = await tokenOfOwnerByIndex({
contract,
owner: ...,
index: ...,
});
function tokenOfOwnerByIndex(
): Promise<bigint>;

Parameters

The options for the tokenOfOwnerByIndex function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.