tokensOfOwner

Calls the "tokensOfOwner" function on the contract.

Example

import { tokensOfOwner } from "thirdweb/extensions/erc721";
const result = await tokensOfOwner({
contract,
owner: ...,
});
function tokensOfOwner(options: BaseTransactionOptions<TokensOfOwnerParams>) : Promise<readonly Array<bigint>>

Parameters

The options for the tokensOfOwner function.

Type

Returns

let returnType: Promise<readonly Array<bigint>>

The parsed result of the function call.