removeFor

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

Example

import { sendTransaction } from "thirdweb";
import { removeFor } from "thirdweb/extensions/farcaster";
const transaction = removeFor({
contract,
fidOwner: ...,
key: ...,
deadline: ...,
sig: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });
function removeFor(
RemoveForParams | { asyncParams: () => Promise<RemoveForParams> }
>,

Parameters

The options for the "removeFor" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.