remove

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

Example

import { remove } from "thirdweb/extensions/thirdweb";
const transaction = remove({
contract,
deployer: ...,
deployment: ...,
chainId: ...,
overrides: {
...
}
});
// Send the transaction
...
function remove(
RemoveParams | { asyncParams: () => Promise<RemoveParams> }
>,

Parameters

The options for the "remove" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.