Retrieves the token IDs owned by a specific address.
import { getOwnedTokenIds } from "thirdweb/extensions/erc721"; const ownedTokenIds = await getOwnedTokenIds({ contract, owner: "0x1234...",});
function getOwnedTokenIds( options: BaseTransactionOptions<BalanceOfParams>,): Promise<Array<bigint>>;
The options for retrieving the owned token IDs.
let options: BaseTransactionOptions<BalanceOfParams>;
let returnType: Promise<Array<bigint>>;
A promise that resolves to an array of bigint representing the owned token IDs.