getBatchIdAtIndex

Calls the "getBatchIdAtIndex" function on the contract.

Example

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

Parameters

The options for the getBatchIdAtIndex function.

Type

let options: BaseTransactionOptions<GetBatchIdAtIndexParams>;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.