addFor

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

Example

import { addFor } from "thirdweb/extensions/farcaster";
const transaction = addFor({
contract,
fidOwner: ...,
keyType: ...,
key: ...,
metadataType: ...,
metadata: ...,
deadline: ...,
sig: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.