distribute

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

Example

import { distribute } from "thirdweb/extensions/split";
const transaction = distribute();
// Send the transaction
...
function distribute(

Parameters

The options for the "distribute" function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.