Prepares a transaction to call the "distribute" function on the contract.
import { sendTransaction } from "thirdweb";import { distribute } from "thirdweb/extensions/split"; const transaction = distribute(); // Send the transactionawait sendTransaction({ transaction, account });
function distribute( options: BaseTransactionOptions,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "distribute" function.
let options: { contract: ThirdwebContract<abi> } & T;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.