updateBatchBaseURI

Prepares a transaction to call the "updateBatchBaseURI" function on the contract.

Example

import { sendTransaction } from "thirdweb";
import { updateBatchBaseURI } from "thirdweb/extensions/erc721";
const transaction = updateBatchBaseURI({
contract,
index: ...,
uri: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });
function updateBatchBaseURI(
| UpdateBatchBaseURIParams
| { asyncParams: () => Promise<UpdateBatchBaseURIParams> }
>,

Parameters

The options for the "updateBatchBaseURI" function.

Type

| UpdateBatchBaseURIParams
| { asyncParams: () => Promise<UpdateBatchBaseURIParams> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.