Prepares a transaction to call the "relay" function on the contract.
import { sendTransaction } from "thirdweb";import { relay } from "thirdweb/extensions/vote"; const transaction = relay({ contract, target: ..., value: ..., data: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function relay( >,
The options for the "relay" function.
A prepared transaction object.