Prepares a transaction to call the "transfer" function on the contract.
import { sendTransaction } from "thirdweb";import { transfer } from "thirdweb/extensions/farcaster"; const transaction = transfer({ contract, to: ..., deadline: ..., sig: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function transfer( options: BaseTransactionOptions< TransferParams | { asyncParams: () => Promise<TransferParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "transfer" function.
let options: BaseTransactionOptions< TransferParams | { asyncParams: () => Promise<TransferParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.