Docs

transferFor

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

Example

import { transferFor } from "thirdweb/extensions/farcaster";
const transaction = transferFor({
contract,
from: ...,
to: ...,
fromDeadline: ...,
fromSig: ...,
toDeadline: ...,
toSig: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.