remove

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

Example

import { sendTransaction } from "thirdweb";
import { remove } from "thirdweb/extensions/farcaster";
const transaction = remove({
contract,
key: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });
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.